How to Connect Your OpenAI API Key and Choose a Model

Learn how to get your OpenAI API key, connect it to Smartlead, and choose the OpenAI model you want to use.

Here's how to get your OpenAI API key and connect it to Smartlead.

Step 1: Get your API key

1) Go to your API key management page.

2) Create a separate API key just for Smartlead so you can track your usage. This step is important.

Step 2: Connect your key in Smartlead

3) Go to Settings → Your Profile → Connect Your OpenAI key.

4) Paste your new secret key.

OpenAI API key settings screen with current key, model selector, new key field, fallback checkbox, and save and delete buttons. Visible: Connect your OpenAI API key, How to copy API Key?, Current API Key, sk-qxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxmHCi, Model, GPT-4o Mini.

Step 3: Choose your model

5) Under Model, select the OpenAI model you want to use. (see above screen)

The model you choose is also used for AI Lead Categorisation in your campaigns. To change it from a campaign, go to Campaign → Settings → AI & Automation → Custom AI → Change Model.

Please keep in mind

1) Make sure you've copied a valid API key.

2) If your API key fails, you'll see an error message in the same area. This can happen if:

  • You pasted the wrong key.

  • You've run out of OpenAI credits. Contact OpenAI to increase your allowance.

Did this answer your question?
😞
😐
😁