Register with Gitlab
Register with Gitlab
To manage the version of your canvas in Cloud Studio, integration with a Version Control System (VCS) is required.
Additionally, VCS account integration must precede the linking of a Terraform Cloud account for project validation and deployment.
This page explains how to register your Gitlab account as a VCS.
What is Gitlab?
GitLab is a platform for hosting and managing software development projects.
- Gitlab After signing up and logging into Gitlab, click on the
Profile Icon - Preferences
in the top left corner.
![otp img](/en/assets/images/gitlab01-7eb448f550383832e229750042eb27e5.png)
- In the left sidebar, click on
Access tokens
, then click theAdd new token
button on the right.
![otp img](/en/assets/images/gitlab02-e8e830b64d0385ee295f9fb6202411ff.png)
- Enter the
Token Name
andToken Expiration
, then select the permissions for the Gitlab token in the Select scopes options by choosingapi
,read_repository
, andwrite_repository
. Finally, click theCreate personal access token
button to generate the token.
![otp img](/en/assets/images/gitlab03-d7d1fa5d8e53e5d8d913a7e2428eeea0.png)
- Verify the issued token.
![otp img](/en/assets/images/gitlab04-42db30d45bee05214c960bd1dbdcb9c4.png)
caution
The issued token cannot be verified again, so make sure to save it separately.
- In Cloud Studio, click on
My Page - Plugin
, then click the+
button to link your VCS account.
![otp img](/en/assets/images/github05-78e0a8675a571b9a2d499cb951a30520.png)
- Select
Gitlab
as the VCS, enter theUsername
of your Gitlab account and the issuedToken
, then click theAdd
button.
![otp img](/en/assets/images/gitlab05-3fbe3fab65233cf74e468a8a702140d6.png)
- Once you have entered a valid Gitlab account
Username
and the issuedToken
, the Gitlab integration will be successfully completed.
![otp img](/en/assets/images/gitlab06-3e2a7e10b6f081da9186371adc5d27fb.png)
caution
To integrate with Gitlab Community and Gitlab Enterprise versions, additional inputs for the hosted HTTP URL
and API URL
are required.