Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
🚀 Quickstart
🧑💻 OAuth app setup
🔗 Useful links
🚨 API gotchas
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Teamleader Focus. Nango doesn’t provide a test OAuth app for Teamleader Focus yet. You’ll need to set up your own by following these instructions. After that, make sure to add the OAuth client ID and secret in the integration settings in Nango. Authorize Teamleader Focus
Go to Connections -> Add Test Connection -> Authorize, then log in to Teamleader Focus. Later, you’ll let your users do the same directly from your app. Call the Teamleader Focus API
Let’s make your first request to the Teamleader Focus API (fetch a list of deals). This request will return basic details about the authenticated user. Replace the placeholders below with your secret key, integration ID, and connection ID:curl -X POST "https://api.nango.dev/proxy/deals.list" \
-H "Authorization: Bearer <NANGO-SECRET-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>" \
-H "Content-Type: application/json" \
-d '{
"page": {
"size": 10
}
}'
Install Nango’s backend SDK with npm i @nangohq/node. Then run:import { Nango } from '@nangohq/node';
const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' });
const res = await nango.post({
endpoint: '/deals.list',
data: {
"page": {
"size": 10
}
},
providerConfigKey: '<INTEGRATION-ID>',
connectionId: '<CONNECTION-ID>'
});
console.log(JSON.stringify(res.data, null, 2));
Or fetch credentials dynamically via the Node SDK or API. ✅ You’re connected! Check the Logs tab in Nango to inspect requests.Next step: Embed the auth flow in your app to let your users connect their Teamleader Focus accounts. Create your OAuth App
Create a Teamleader Focus account
Create an integration
- From the top right corner, click Create integration.
- Enter a name for your integration.
- Click Create Integration.
- You will be provided with a Client ID and Client Secret. Copy these credentials as you’ll need them when configuring your integration in Nango.
Configure your integration
- Fill in all the required information for your integration.
- Under Valid Redirect URIs, add
https://api.nango.dev/oauth/callback.
- Select at least 2 OAuth scopes that your integration needs.
- Click Save Changes.
- You don’t need to add scopes when setting up the integration in Nango. Teamleader Focus will use the scopes you selected when creating the integration in their marketplace.