Skip to main content

Getting Started with Snyk for Windsurf

Get started with Snyk’s security scanning, directly in your Windsurf IDE, in 3 simple steps

1. 1-Click Windsurf install

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

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

  3. When prompted, select your desired scan frequency

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 Windsurf

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 Windsurf 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 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.