An overview of the Git integration with Secoda
The Secoda integration with Git allows user's to push the resources and metadata in the Secoda workspace into a Git repository, in the form of JSON files.
There are three steps to getting started using Git with Secoda
- 1.Create an empty Git repository for Secoda to push data to.
- 2.Prepare your Git credentials
- 3.Connect Git to Secoda
The following guide contains screenshots and links from Github but Secoda’s Git integration works with every other Git host as well.
Once the repo is created. Please note the HTTPs URL of the repo.
Your git username password are the same as your Git hosting credentials. However, If you have enabled 2FA on your account, you will have to generate a new personal token.
- 2.Click on “Generate new Token” at the top right
- 3.Name your token “Secoda Git Integration” or any other name you see fit
- 4.Set the expiration to “No Expiration”
- 5.Check the “repo” checkbox
- 6.Scroll to the bottom and click on “Generate Token”
- 7.Please note the generated token for the next step.
- 1.Open your Secoda integrations page
- 2.Click on "New Integration" on the top left
- 3.Select git from the list of integrations
- 4.Input your Git credentials from step 2 for “Git Username” and “Git Password”
- 5.Click on "Test Connection" to save the integration.
- 6.Once integration is created, click on “Run Extraction” from history tab to run your first extraction
Once the git extraction finishes running, you will receive a notification on Secoda if you have enabled the setting to receive extraction success notifications.