Connect ChatGPT to your business data through ContextGate's REST API. Use custom GPT actions or OpenAI's function calling to query your connected apps.
This guide covers two integration methods: ChatGPT Custom Actions (no code) and OpenAI API with Function Calling (programmable).
💡 Find your token on the Install page .
Customize which data sources ChatGPT can access:
Configure on the Install page :

In the GPT editor, scroll to Actions and click Create new action:
Replace YOUR_BEARER_TOKEN with your actual ContextGate token.
Save your GPT and test with prompts like:
"Show me all customers from Salesforce""What's our current revenue in QuickBooks?"For programmatic integration, use OpenAI's function calling feature to query ContextGate from your application.
| Endpoint | Method | Description |
|---|---|---|
| /v1/query | POST | Query data from connected apps |
| /v1/connections | GET | List available connections |
| /v1/resources | GET | List available datasets and tools |