Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CUBE_API_KEY | No | Navigate to Admin → API Keys to obtain your API key. | |
| EXTERNAL_USER_ID | No | A unique identifier for external/third-party users (e.g., "user-123", "customer@external.com"). Use this when you need to provide custom user attributes, groups, or row-level security settings. | |
| INTERNAL_USER_ID | No | Email address of an existing Cube user. Use this for internal team members who already have Cube accounts. The user's existing permissions and settings will be used. | |
| CUBE_CHAT_API_URL | No | Copy the complete Chat API URL from Admin → Agents → Click on Agent → Chat API URL field. This is the full endpoint URL for your agent. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |