Delv
Windsurf
Getting Started Guide

How to Use Windsurf

A practical guide to get you up and running with Windsurf. Written by Delv Editorial, Delv Team.

Getting started with Windsurf

After reading this guide, you will be able to set up Windsurf and complete your first coding task using its AI-driven features, enhancing your development workflow significantly.

Step 1: Sign up and set up

  1. Visit windsurf.com.
  2. Click on the "Sign Up" button located in the top right corner.
  3. Enter your email address and create a password, then click "Create Account."
  4. Verify your email by clicking the link sent to your inbox.
  5. Log in to your account. You will start with the free tier, which includes a set number of Cascade credits for AI operations.

Step 2: Your first coding task

  1. Once logged in, click on "New Project" from the dashboard.
  2. Name your project and select the programming language you’ll be using (e.g., JavaScript, Python).
  3. Click on "Create" to open the project workspace.
  4. In the editor, start by writing a simple function or class. For example, type function helloWorld() { console.log("Hello, World!"); }.
  5. To use the Cascade feature, highlight the function name and click on the "Cascade" button on the right side of the editor.
  6. Follow the prompts to let the AI suggest enhancements or generate related code. Review and approve the suggestions by clicking "Insert".

Step 3: Get better results

  1. Use specific prompts when asking the AI to generate code. For instance, instead of asking for "a loop", specify "a for loop that iterates through an array of numbers".
  2. Regularly check the "Settings" menu (gear icon) to adjust your preferences for code suggestions, such as turning on or off auto-complete features.
  3. Take advantage of the multi-file editing feature by opening multiple files from the project sidebar. This allows you to see related files while working on your current task.

Pro tip

To save time, create boilerplate templates for common tasks or functions in your projects. You can do this by saving snippets in the "Snippets" section of the sidebar, allowing quick access later.

Common mistake to avoid

Many beginners forget to verify their email, which prevents them from fully accessing the features of Windsurf. Make sure to check your inbox and complete the verification process right after signing up.