Vibe Web Documentation

Openrouter & Google Setup

OpenRouter Integration Setup

  1. Create an OpenRouter account:
    https://openrouter.ai/

  2. After creating your account, log in.

  3. Go to:

    OpenRouter → Settings → Keys
    
  4. Copy your default API key.

  5. Add credits to your OpenRouter account to increase rate limits:
    https://openrouter.ai/credits

  6. Copy a Model ID from the OpenRouter Models page.

  7. Go back to your Admin Panel:

    Admin Panel → Settings → LLM & Model Configuration
    
  8. Paste the OpenRouter API Key into the OpenRouter API Key field.

  9. Paste the Model ID into the LLM & Model Configuration section of the Settings page in the Admin Panel.

The system allows you to add large, medium, and small models. You can assign the most expensive model as Large, the next as Medium, and the lowest-cost model as Small.

By default, Gemini 3.1 Pro is set as the Large model, Gemini 3 Flash as the Medium model, and Grok 4.1 Fast as the Small model.

We do not recommend using free models, as they can cause many issues due to inconsistent behavior. Free models may also close the connection before completing the response.


Google Integration Setup

Follow these steps to configure Google Login:

  1. Log in to your Google Cloud Console
    https://console.cloud.google.com/

  2. Create a new project
    https://console.cloud.google.com/projectcreate

  3. Navigate to APIs & Services.

  4. From the sidebar, go to OAuth Consent Screen
    https://console.cloud.google.com/apis/credentials/consent

  5. Set User Type to External and click Create.

  6. Fill in your app details, then click Save and Continue.

  7. In the Scopes section:

    • Click Add or remove scopes
    • Select the following scopes:
      • userinfo.email
      • userinfo.profile
  8. Complete the remaining steps of the setup.

  9. From the sidebar, go to Credentials.

  10. Click Create Credentials → OAuth Client ID.

  11. Set Application Type to Web Application.

  12. Under Authorized Redirect URIs, paste your redirect URL.
    You can find this in:

Admin → Settings → Other Integrations → Google Authentication

It appears right below the Google Client ID field.

  1. After creating the credentials, copy the Client ID and Client Secret.

  2. Paste them into:

Admin → Settings → Other Integrations → Google Authentication