# Gitlab On-prem

To connect the Typo application to the GitLab server (on-prem), you will need to do the following:

### Step 1: IP Whitelisting

If your GitLab Server instance is available from the public internet, you can skip this step.

For Typo to be able to access your private network, you will need to add Typo’s public IP as a whitelisted source in your network firewall.

#### Typo’s public IP addresses:

```
34.57.184.27
34.72.244.153
```

In case your network is behind a VPN, it is standard to have some reverse proxy that allows Typo-specific access to the GitLab Server.

### Step 2: Share **your GitLab server URL**

Once you whitelist Typo IP in your network, share your GitLab server URL. The typo will automatically check connectivity to your GitLab server. Once the connection is established, you will be able to move to the next step\
Example -  <https://git.companyname.co>

### Step 3: Create a Personal Access Token

1. Log in to the GitLab Server.
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.
5. Select the following access scopes: **read\_user, api, read\_repository, read\_api**
6. Click the **Create personal access token** button.
7. Copy the token to a secure file and hit continue.

{% hint style="warning" %}
Important: You will no longer be able to view the value of the token once you hit continue. Make sure you copy it first.
{% endhint %}

8. Share this access token with us. at [hello@typoapp.io](#step-1-ip-whitelisting). The typo will automatically check the validity of the access token. Once the access token is validated. You will be able to move to the next stage (Repository selection)&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://typo.gitbook.io/typo-help-docs/getting-started/integrations/git/gitlab-on-prem.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
