Retrieve the API credentials from your connection, at scale:
Node
cURL
import { Nango } from '@nangohq/node';const nango = new Nango({ secretKey: '<NANGO-SECRET-KEY>' }); // Find in Environment Settings > API Keysconst connection = await nango.getConnection( '<INTEGRATION-ID>', // Find in your Integrations '<CONNECTION-ID>' // Find in your Connections);console.log(connection.credentials);
# <NANGO-API-KEY>: Find in Environment Settings > API Keys# <INTEGRATION-ID>: Find in your Integrations# <CONNECTION-ID>: Find in your Connectionscurl -X GET \-H 'Authorization: Bearer <NANGO-API-KEY>' \'https://api.nango.dev/connection/<CONNECTION-ID>?provider_config_key=<INTEGRATION-ID>'
🎉 You’re ready to consume any external API!
4
Next steps
Embed in your app
Embed Nango Auth in your application and let your users connect external APIs.
Make authenticated requests
Use the Proxy to make authenticated API requests on behalf of your users.
Custom integrations
Implement custom integrations with Functions & the AI code generation.
Questions, problems, feedback? Please reach out in the Slack community.