What is a GitLab instance URL, and how can I get it?

Viewed 40448

I have tried searching for it everywhere, but I can’t find anything.

It would be really awesome if someone could define it straight out of the box.

I don’t know what an instance of GitLab URL is. I’m asking if someone could clarify what it is, and where can I get it. I am currently trying to add it in Visual Studio Code extension GitLab Workflow. The extension is asking for my GitLab instance URL, and I don’t know where to get it.

2 Answers

The instance URL of any GitLab install is basically the link to the GitLab you're trying to connect to.

For example, if your project is hosted on gitlab.example.com/yourname/yourproject then for the instance URL enter https://gitlab.example.com.

Another example, if your project is hosted on gitlab.com/username/project then the instance URL is https://gitlab.com. Though note that in the VS Code extension specifically, gitlab.com is the default so you can leave it blank in this case.

I didn't find the accepted answer satisfying, so here is my take.

As far as the page about SSH configuration is concerned, if your login is, say, Maverick, then the GitLab instance URL is Maverick@gitlab.com. Apparently, the instance URL shows up during a keyboard-interactive login:

Username for 'https://gitlab.com': TypeYourNick
Password for 'https://TypeYourNick@gitlab.com':

The GitLab documentation presents this information rather vaguely... (it didn't help me at all)

Related