Skip to main content
  • ๐Ÿš€ Quickstart
  • ๐Ÿšจ API gotchas
1

Create an integration

In Nango (free signup), go to Integrations -> Configure New Integration -> GitLab (Personal Access Token).
2

Authorize GitLab (Personal Access Token)

Go to Connections -> Add Test Connection -> Authorize, then enter your GitLab (Personal Access Token) credentials. Later, youโ€™ll let your users do the same directly from your app.
3

Call the GitLab API

Letโ€™s make your first request to the GitLab API (fetch a list of users). Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/api/v4/users?per_page=10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
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 GitLab accounts.
Questions? Join us in the Slack community.