What is API integration?
Relevance AI has built-in integrations for dozens of popular services — but if you need to call a custom endpoint or connect a service that isn’t on the list, you can add your own API keys. And if you want to access Relevance programmatically — via the SDK — you can generate a Relevance API key.What are the benefits of API integration?
Connect anything
Add your own API keys to connect any service or endpoint that Relevance doesn’t have a built-in integration for.
Programmatic access
Use the Relevance API key to interact with the platform through the SDK.
Secure by default
All keys are encrypted and scoped to your project. Access them safely in tools using template variables.
Full flexibility
Call any REST endpoint, pass custom headers and parameters, and use the response in your tool steps.
How to add a custom API key
If the integration you need isn’t available as a built-in, you can add a custom API key:- Go to the Integrations & API Keys page from the left-hand menu
- Click Custom API Keys
- Give your key a name, paste the value, and save
Relevance API key
The Relevance API key is different from custom API keys — it authenticates you against the Relevance platform itself. Use it when you want to:- Use the Python or JavaScript SDK to trigger agents, run tools, or manage resources programmatically
- Connect agents to external platforms by embedding them outside of Relevance
Region and URL endpoints
Many API endpoints at Relevance follow the below format. Note theapi-<region> part.
https://api-<region>.stack.tryrelevance.com/latest/.......
For instance, if the Region id fetched from the API keys page is f1db6c:
https://api-f1db6c.stack.tryrelevance.com/latest/.......
Frequently asked questions (FAQs)
What's the difference between a custom API key and a Relevance API key?
What's the difference between a custom API key and a Relevance API key?
Custom API keys connect Relevance to an external service you want to call. The Relevance API key connects external code to Relevance itself — it’s what you use with the SDK.
How do I use a custom API key in a tool?
How do I use a custom API key in a tool?
Reference it with the template variable
{{secrets.chains_your_key_name}} in any tool step that supports it, such as an API call or Python code step.Are my API keys secure?
Are my API keys secure?
Yes. All keys are encrypted and scoped to your project. They’re never exposed in logs or agent responses.
What about built-in integrations like HubSpot or Slack?
What about built-in integrations like HubSpot or Slack?
Those are covered on the Integrations page. This page is for connecting services that don’t have a built-in integration, or for accessing Relevance programmatically.

