GitLab
GitLab.com or your own GitLab server
Back a project with a GitLab repository. SAM uses the project owner's GitLab sign-in to clone and push, and your administrator can point SAM at GitLab.com or a self-managed GitLab host.
What you get
GitLab.com or self-managed
The administrator sets the GitLab host, client ID and secret in Admin → Integrations.
Sign in with GitLab
Users can sign in to SAM with GitLab when the administrator enables it.
Branches, not surprises
On a GitLab project the agent pushes its branch, and you open the merge request in GitLab.
Set it up in 3 steps
-
Configure GitLab OAuth
The administrator registers an OAuth application in GitLab and enters it in Admin → Integrations.
-
Connect your account
Sign in with GitLab so SAM can reach your repositories.
-
Create a project
Pick a GitLab repository when you create the project.
Good for
Self-managed Git
Keep source on your own GitLab server while agents run on your own cloud.
Mixed teams
Run GitHub-backed and GitLab-backed projects in the same installation.
Questions
Whose access does SAM use?
The project owner's GitLab sign-in, which reaches the projects that account can reach.
Can agents open merge requests?
Not yet. Agents push a branch, and you open the merge request in GitLab.
Do GitHub event triggers work for GitLab?
No. Use a webhook trigger from GitLab instead.
Related integrations
Get your coding agents off your laptop
SAM is open source. Deploy it to your Cloudflare account and connect your agent. Add a cloud provider when you want full environments on your own servers.