Settings - API Keys

After installing SleekAI, you will need to obtain an API key from OpenAI, Anthropic, Google Gemini, or OpenRouter to use the plugin on your site. This key is used to authenticate requests to the respective API provider.

OpenAI

  1. Go to the OpenAI API page.

  2. Click the "Create new secret key" button.

  3. Give your key a name and click "Create".

  4. Copy the key and paste it into the "API Key" field on the SleekAI settings page:

/wp-admin/admin.php?page=sleek-ai#/settings/api-keys

Edit the placeholder with your site URL, it will be saved for the next time you visit.

  1. Click "Set".

Anthropic

  1. Go to the Anthropic API page.

  2. Click the "Create Key" button.

  3. Give your key a name and click "Create".

  4. Copy the key and paste it into the "API Key" field on the SleekAI settings page:

/wp-admin/admin.php?page=sleek-ai#/settings/api-keys

Edit the placeholder with your site URL, it will be saved for the next time you visit.

  1. Click "Set".

Google Gemini

  1. Go to the Google AI Studio page.

  2. Sign in with your Google account or create one if needed.

  3. Click the "Create API key" button.

  4. Copy the key and paste it into the "API Key" field on the SleekAI settings page:

/wp-admin/admin.php?page=sleek-ai#/settings/api-keys

Edit the placeholder with your site URL, it will be saved for the next time you visit.

  1. Click "Set".

OpenRouter

  1. Go to the OpenRouter page.

  2. Sign in with your preferred authentication method.

  3. Click the "Create Key" button.

  4. Copy the key and paste it into the "API Key" field on the SleekAI settings page:

/wp-admin/admin.php?page=sleek-ai#/settings/api-keys

Edit the placeholder with your site URL, it will be saved for the next time you visit.

  1. Click "Set".