Skip to main content
1

Configure an integration

Sign up (free, no credit card) then, on the Integrations tab, set up a new integration.
2

Authorize the API

On the Connections tab, create a new connection and complete the auth flow. Later, you’ll embed the auth flow in your product with code like this:
nango.openConnectUI({ onEvent: (event) => { /* handle completion */ } });
3

Access the API

Retrieve the API credentials from your connection, at scale:
import { Nango } from '@nangohq/node';

const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' }); // Find in your Environment Settings

const connection = await nango.getConnection(
    '<INTEGRATION-ID>', // Find in your Integrations
    '<CONNECTION-ID>'   // Find in your Connections
);

console.log(connection.credentials);
🎉 You’re ready to consume any external API!
Questions, problems, feedback? Please reach out in the Slack community.