Skip to main content
Integrate Gitlab
Aika Apolinario avatar
Written by Aika Apolinario
Updated over a week ago

See all your teams work from JIRA issues to pull requests in once place by integrating Github with Haystack

For more information on what data Haystack uses from Gitlab, here is an article!

For GitLab integrations, there are 3 high level steps

  1. Generate Personal Access Token

  2. Provide Access Token to Haystack

  3. (Only self-hosted) Open GitLab firewall to Haystack IPs

You can find detailed instructions on each step below.

For more information on what data Haystack stores, please find more information here!

1. Generate Personal Access Token

You can create as many personal access tokens as you like from your GitLab profile.

  1. Log in to GitLab.

  2. In the upper-right corner, click your avatar and select Settings.

  3. On the User Settings menu, select Access Tokens.

  4. Choose a name and optional expiry date for the token - Don't set any date.

  5. Choose the desired scopes - For Haystack we need only api scope and read_user scope..

  6. Click the Create personal access token button.

  7. Save the personal access token somewhere safe. Once you leave or refresh the page, you won’t be able to access it again.

Here is the example:

2. Complete Filling Out Information on Haystack

Copy paste the newly generated token into Haystack.

Click "Connect" and you are all done if you are not using a self managed Gitlab instance.

If you have a self managed Gitlab instance, please continue reading.

3. (Only self-managed) Open GitLab firewall to Haystack IPs

If you have a self managed Gitlab instance, you will need to open firewall access to the following IP addresses Haystack uses to connect to GitLab.

35.209.159.249
35.208.83.132
35.208.18.170
35.209.170.63

If you have any questions or concerns, please reach out to us via Intercom chatbot on the bottom right corner!

Alternatively you can email us at [email protected]

Did this answer your question?