Comment on page
Set up an integration
You must give Snyk access to your environment, to allow Snyk to scan that environment. The type of integration you need depends on what systems you use, and what you want to scan. See Integrate with Snyk for information about aviaable integrators.
You can set up this integration:
Immediately after you Create a Snyk account, you will see optional getting started walkthrough prompts. You can choose to provide some information to help Snyk guide your experience, and then follow the prompts to integrate your code repository for a seamless experience.
An example follows.
Choose integration method
Fill in the details for the integration you select. If you select GitHub, fill in the details as shown.
Set access permissions
Configure automation settings & authenticate
Add your first project
Alternatively, if you want to scan your code without authenticating to your source code repository, you can select the CLI integration. This allows you to run scans from your local machine and upload results to your Organization in Snyk.
Though GitHub, Bitbucket Cloud, and the CLI are shown with dedicated tiles, many other integrations are available through the View all integrations link.
An example follows showing a Git repository integration
To scan code from a Git-based source code repository, you must integrate Snyk with a Git repository integration. Snyk has pre-built integrations for GitHub, GitHub Enterprise, Bitbucket Cloud, and other repositories.
Select Source control integrations
If an integration is already configured for your Organization, it is marked as Configured.
To connect Snyk with your GitHub repositories:
- 1.Choose whether to give Snyk access to both public and private repositories or only to public repositories. The GitHub authorization screen opens.
- 2.In the GitHub authorization screen, click Authorize Snyk to provide Snyk with access to your repositories.
- 3.Enter your account credentials and save your details when prompted.