Key Features
- Flexible Key-Value Storage: Add unlimited secure credentials
- Automatic Encryption: All values are encrypted at rest
- Easy Access: Retrieve credentials using the Definite SDK
Creating a Custom Integration
1
Navigate to 
Settings
Integrations
. Search for and select “Custom” as the integration type.
2
Enter a name for your integration (e.g., “Internal API Credentials”) and add your credentials:
- Click
+Add Secret
to add a new credential - Enter a key name (alphanumeric with underscores, e.g.,
my_custom_integration
) - Enter the secret value to be encrypted
- Repeat for all credentials needed

3
Click
Save
to create the integration with encrypted credentials.Key Naming Rules: Keys must contain only letters, numbers, and underscores. They cannot start with a number or be empty.
Using in Python Code
Access your custom integration credentials using the Definite SDK:Common Use Cases
Internal APIs
Store credentials for proprietary APIs:Database Connections
Secure database credentials:Third-Party Services
Any service not covered by built-in integrations:Working with Multiple Integrations
You can access multiple custom integrations in the same script:Best Practices
- Initialize Once: Create the DefiniteClient once and reuse it
- Group Related Credentials: Store related keys in the same integration
- Use Clear Names: Make integration and key names self-documenting
- Handle Missing Keys: Always check if keys exist before using them
- Secure API Keys: Store your DEFINITE_API_KEY as an environment variable. Your DEFINITE_API_KEY is automatically loaded in Python blocks on Definite.
Example with Error Handling
Security
- All credential values are encrypted using AES-256 encryption
- Keys are encrypted before storage and decrypted only when accessed
- Access is controlled by Definite’s permission system
- The DEFINITE_API_KEY controls access to integrations
- Audit logs track all integration changes
Once saved, credential values cannot be viewed in the UI. Store them securely elsewhere if you need to reference the original values.
Getting Your Definite API Key
To use the Definite SDK, you’ll need an API key:1
On the Definite homepage, navigate to your username in the lower-left corner of the screen, then click 
Copy API Key
. The API Key will be automatically copied to your clipboard.
2
Store it securely as an environment variable: