TutorialsQuickstartAPI Reference

Setup guides for tools and automation workflows.

How to Use ToksHub with Windsurf

Point Windsurf at the same API boundary your team already uses, without introducing a separate provider-specific setup.

Step 1: Get Your API Key

  1. Visit the dashboard
  2. Sign up or log in
  3. Go to API KeysCreate New Key
  4. Copy the key

Step 2: Configure Windsurf

In Windsurf, look for the provider or model configuration area that allows an OpenAI-compatible endpoint or custom base URL.

Use the following values:

Base URL: https://api.tokshub.com/v1
API Key: sk-your-key

The exact settings path can vary by Windsurf version, but the required values remain the same.

Step 3: Verify the Connection

  1. Open a project in Windsurf
  2. Run a simple coding or chat request
  3. Confirm the request appears in your dashboard

Troubleshooting

  • Authentication failed — Verify you pasted yourToksHub key correctly
  • Model list not appearing — Confirm Windsurf is usinghttps://api.tokshub.com/v1 as the base URL
  • Connection errors — Check status and retry after verifying network access

Need the exact endpoint behavior?

Review the API reference or the quickstart guide for request examples and model discovery.

Windsurf Setup Guide — ToksHub