Documentation
API Keys
Learn how to generate and manage your API keys
Getting Your API Key
API keys are used to authenticate requests to the AISA backend. Each key is unique and should be kept secure.
- Log in to your NextSet AI dashboard
- Navigate to Settings → API Keys
- Click "Generate New Key"
- Copy the key immediately (it won't be shown again)
- Store it securely in your configuration
Using Your API Key
Add your API key to the widget configuration:
window.AISA_CONFIG = {
API_URL: "https://your-backend.azurewebsites.net/api/intake",
API_KEY: "your_actual_api_key_here"
};Security Best Practices
- ✅ Never commit API keys to version control
- ✅ Use environment variables in production
- ✅ Rotate keys regularly
- ✅ Use different keys for development and production
- ✅ Revoke compromised keys immediately
Key Permissions
API keys have different permission levels:
Read Only
Can retrieve data but cannot send messages
Read & Write
Full access to send and receive messages
Admin
Full access including configuration changes