GitLab
Code hosting on GitLab.com: projects, issues, merge requests, pipelines and releases.
Code hosting on GitLab.com: projects, issues, merge requests, pipelines and releases.
API key
- Open gitlab.com and create an API key with only the access your apps need.
- Copy it. It may be shown only once.
What to create: A personal, project or group access token from GitLab.com.
Add it to your Gateway. It asks for the key:
everyapp provider add gitlabUse it in an app
In the app's everyapp.config.ts:
capabilities: {
gitlab: { access: "read", why: "What the app does with it." },
},The app calls GitLab's API with integrationFetch(), and the Gateway adds the key. Use "write" if the app changes things. More in API providers.
Check it worked: everyapp provider show gitlab shows the key as set.
Rate limits: 2000 a minute. Authenticated API traffic per user on GitLab.com.
Connect accounts
Each person connects their own GitLab account once, then allows each app that uses it. Apps never see the tokens. How connecting works
To skip registering an OAuth app, people can use the GitLab account in their own Composio instead.
The redirect URI to register, with your Gateway's address (like apps.example.com):
https://<your gateway>/connect/gitlab-oauth/callbackA self-managed GitLab needs a custom provider with its own host in place of gitlab.com.
- Open gitlab.com and create an OAuth app (also called a client or an integration).
- Add the redirect URI above.
- Copy the client ID and client secret. The secret is often shown only once.
Add it to your Gateway. It asks for the client ID and secret:
everyapp provider add gitlab-oauthOr add it in Manage workspace → Providers.
Use it in an app
List the provider's own scopes in the app's everyapp.config.ts:
capabilities: {
"gitlab-oauth": { scopes: ["read_api"], why: "What the app does with it." },
},Use GitLab's scopes. The Gateway adds read_user itself; don't list them. The app calls GitLab's API with integrationFetch(), and the Gateway adds the person's token. A token with more scopes than your apps list is refused.
Check it worked: everyapp provider show gitlab-oauth shows the client as set. Then open an app that lists it and select its Connect button.
Something wrong or missing? Open an issue.