---
description: Gitlab On-prem Connection Guide
---

# 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:

```
18.207.42.84
3.223.63.104
```

In case your network is behind a VPN, it is standard to have some reverse proxy that allows Typo-specific access to 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](https://git.companyname.co)

### Step 3: Create a Personal Access Token

1. Log in to 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;

\
