GitLab
Panto Installation on GitLab
1. Generate Access Token
You can generate an access token at the group level or project level. We recommend generating an access token at the group level to reuse the same token later.
- Token Name:
PANTO BOT - Scope:
api - Expiration Date: Unselect (Set it to 12 months)
- Role:
Developer
After creating the access token, keep the token somewhere safe. GitLab will not show the token again once you leave the page. The token will look like glpat-....
2. Register the token with Panto
- Go to https://dashboard.getpanto.ai/ and sign in (or create an account).
- Navigate to Integrations and choose GitLab connect.
- Fill the GitLab integration form:
- GitLab Account URL: your GitLab instance URL (e.g.,
https://gitlab.com/xyzor your self-hosted URL) - Access Token: the token you created (
glpat-...)
- GitLab Account URL: your GitLab instance URL (e.g.,
- Save the integration.
After the integration is successful, return to these docs and continue with Step 3 to set up the project webhook.
3. Setup Webhook
a. Go to project settings and click on the webhook.
b. In the webhook section, set the following parameters:
- URL:
https://app.getpanto.ai/gitlab/webhook - Trigger: Comments and Merge request events
c. Save the changes.
Now the installation is completed for one project. Repeat the process for other projects. If you've created the access token at the group level, you can reuse the token for all projects under the same group.
You may go to any PR of the project and comment /review or !review to invite the bot to review the PR or enable auto review.
For any support, contact support@getpanto.ai.