Quickstart
Authorize an API and run your first Tenklo function
AI-assisted quickstart
Copy this prompt into Claude, Cursor, or another coding agent to get guided through signup, API key setup, connection authorization, and your first function call.
For skills, the docs MCP server, and other agent setup options, see Coding agent setup.
Manual quickstart
The steps below show the flow end to end. This quickstart uses the GitHub API as an example, but you can choose any of the 1,000+ APIs.
Sign up for free. This quickstart uses GitHub (User OAuth), which is pre-created with integration ID github-getting-started.
If you want to test another API, go to the Integrations tab > Set up new integration > pick an API.
Go to the Connections tab > Add Test Connection > pick your integration, and complete the auth flow. For the GitHub example, pick github-getting-started.
Copy the connection ID and your Tenklo API key from the Environment settings tab > API Keys. For the GitHub example, the integration ID is github-getting-started. You will use these values in the next steps.
Open the github-getting-started integration and select get-repository from the Functions tab.
Tenklo runs the function with the connected account's credentials without exposing them to your app or agent.
You can also build a custom function in your codebase, or use the Functions API to let an agent turn text-defined behavior into deployed function code.
Trigger the function from your backend:
Install the SDK with npm i @nangohq/node, then run:
import { Nango } from '@nangohq/node';
const nango = new Nango({ apiKey: process.env.NANGO_API_KEY! });
const result = await nango.triggerAction(
'github-getting-started',
'<CONNECTION-ID>',
'get-repository',
{
owner: 'NangoHQ',
repo: 'nango'
}
);
console.log(result);You should receive GitHub repository details such as the repository ID, full name, visibility, default branch, and owner.
Open the Logs tab to inspect the function execution, provider request, response, and any errors.
🎉 You connected an API and ran your first integration function.
Embed auth in your app
Let users connect external APIs from your product.
Build custom functions
Generate, test, customize, and deploy integration code.
Sync external data
Keep external API data fresh for your product or RAG pipeline.
Expose tools to agents
Use action functions through tool calling and MCP.