Add files to a custom model from GitLab¶
GitLab repository integration, available as a public preview feature, is off by default. Contact your DataRobot representative or administrator for information on enabling the feature.
Feature flag: Enable Custom Models GitLab Integration
If you add a custom model to the Workshop, you can use a GitLab repository to pull files and include them in the model.
Select a custom model you wish to add files to, and navigate to Assemble > Add files > Remote repository.
Click add new in window to integrate a new remote repository with DataRobot.
Before registering a repository, you must authorize the GitLab DataRobot Application. You are redirected to and must authorize the consent form on the GitLab website.
Once authorized, the modal updates. Choose a repository URL from the dropdown list, or paste the repository URL.
To register a GitLab enterprise repository, you must also generate a new Personal Access Token. To do so, navigate to GitLab, enter a name for the new token, set the mandatory scopes (
read_repository), and click Create personal access token.
The newly generated token appears at the top of the page.
Enter the new token into the Personal Access Token field in the modal:
After completing the fields, click Test to verify connection to the repository. Once you have verified the connection, click Add repository.