> For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt.

# Getting started with Managed GitLab

From order to first login takes about half an hour, and most of it happens
by itself. All you need to do is create two DNS records.

## What you need \{#det-har-behover-du}

- An account in the [portal](https://portal.getgeek.se).
- A domain where you can change DNS, for example `yourcompany.com`. GitLab
  gets its own name under it, usually `git.yourcompany.com`.

## Step 1: Order \{#steg-1-bestall}

Order under [Managed GitLab](https://portal.getgeek.se/index.php/cart/managed-gitlab/)
in the portal and choose Small or Large.

In the **Hostname** field, enter the full name GitLab should have, for
example `git.yourcompany.com`. It becomes the address of your GitLab and the
name on the certificate.

:::warning Choose the name carefully
You cannot change the name yourself afterwards. If you need to change it
later, contact support.
:::

If you pay by card, the installation starts once the payment is complete. If
you pay by invoice, it starts as soon as the order is placed.

## Step 2: Create the DNS records \{#steg-2-skapa-dns-posterna}

When the server is installed you get an email from `hej@getgeek.se` with the
subject **"Aktivera HTTPS för git.yourcompany.com"**. The email lists the
server's addresses. Create two records with whoever runs DNS for your domain:

| Name                  | Type   | Value                           |
| --------------------- | ------ | ------------------------------- |
| `git.yourcompany.com` | `A`    | The IPv4 address from the email |
| `git.yourcompany.com` | `AAAA` | The IPv6 address from the email |

Both records are needed. We check both before the certificate is issued.

:::tip Does your domain have a CAA record?
Then it must allow Let's Encrypt, otherwise the certificate cannot be issued.
Add `0 issue "letsencrypt.org"` if it is missing. If the domain has no CAA
record you do not need to do anything.
:::

## Step 3: Enable HTTPS \{#steg-3-aktivera-https}

Click **Verifiera DNS & aktivera HTTPS** in the email. The page that opens
shows which addresses we expect and what we see right now.

- **DNS is correct:** we request the certificate straight away. It takes
  about a minute.
- **DNS is not correct yet:** the page tells you what is missing. New records
  can take a while to propagate. Wait a few minutes and click **Verifiera**
  again.

We check against two public DNS services, Google and Cloudflare, and both
must see the right addresses. You do not need to sit and wait: we also check
on our own every fifteen minutes and enable HTTPS once the records show up.

## Step 4: Choose a password \{#steg-4-valj-losenord}

Once HTTPS is on, we create your administrator account and GitLab sends an
email with a link where you choose a password. The email comes from
`gitlab@getgeek.se` to the email address on your customer account.

Your username is the part before `@` in the email address. If the address is
`anna.svensson@yourcompany.com`, the username is `anna.svensson`. You can
change it in your profile.

Then log in at `https://git.yourcompany.com`.

## Step 5: The first things to do \{#steg-5-det-forsta-du-gor}

1. **Turn on two-factor authentication** for your account: your avatar →
   **Edit profile** → **Account** → **Enable two-factor authentication**.
   Your account is an administrator, so it is worth protecting.
2. **Add your SSH key** under **Edit profile** → **SSH Keys** if you want to
   use git over SSH. The address is the usual one, on port 22:
   `git@git.yourcompany.com:group/project.git`.
3. **Create accounts for your colleagues.** Self-registration is turned off
   on the server, so new users are created by an administrator: **Admin** →
   **Users** → **New user**. The user gets an email and chooses their own
   password.

## The GetGeek Automation account \{#kontot-getgeek-automation}

The user list contains the account **GetGeek Automation (drift)**, with the
username `getgeek-automation`. It is our operations account: updates,
backups and monitoring go through it.

Do not delete or block the account, do not remove its administrator rights
and do not revoke its token. Maintenance stops working if you do. The account
is only used by our automated jobs and by support when you ask for help.

## Moving in from another GitLab \{#flytta-in}

The import settings are under **Admin** → **Settings** → **General** →
**Import and export settings**.

- **From GitLab.com or another GitLab server:** Direct Transfer is turned
  off by default. Turn on **Allow migrating GitLab groups and projects by
  direct transfer** and then move with **New group** → **Import group**.
  Issues, merge requests, wiki and CI settings come along.
- **From GitHub and other services:** check that the service is ticked under
  **Import sources** and use **New project** → **Import project**.

## Next steps \{#nasta-steg}

- [Operations and backup](/en/managed-gitlab/drift-och-backup.md): when we update and how
  restores work.
- [Settings and add-ons](/en/managed-gitlab/installningar.md): what you can change yourself,
  your own mail relay, your own runners and more.
