Skip to main content

Getting Started with Snyk for Antigravity

Get started with Snyk’s security scanning, directly in Google Antigravity, in 3 simple steps.

1. 1-Click Antigravity install

  1. Click “Open Antigravity” via the pop-up on this page or the “1-Click Install” CTA below

  2. In Antigravity, click “Install” to add the Snyk plugin to your workspace

  3. When prompted, select your desired scan frequency

Note: If you previously downloaded the Snyk plugin, you will not be prompted and can enable Snyk Studio and the Secure at Inception use case in the Snyk plugin by toggling on the "Security at Inception" settings.

2. Authenticate

  1. Snyk will ask to invoke an authentication flow upon install

  2. Choose your desired log-in method and grant the necessary permissions

  3. Close any browser windows and return to Antigravity

Note: If you’re running an environment that does not support npx, you may need to install Snyk’s CLI. Click here to learn more. 

More details can be found in Snyk’s official Antigravity documentation.

3. Try it out!

Snyk will run as frequently as you selected during install. Start chatting with your LLM of choice in your current project, or start a new one with the following prompt:

In a new file, write a Python function named `is_palindrome` that takes a single string argument and returns `True` if the string is a palindrome and `False` otherwise. Per the Snyk Secure At Inception rules, this will demonstrate that all generated code is tested for security issues using the Snyk scanning tools and any issues identifies can be fixed automaticallyPer the secure at inception rules, this will demonstrate that all generated code is tested for security issues using the Snyk MCP server and any issues identified can be fixed automatically.