OpenAI Integration

o use OpenAI GPT models with your Salpre AI agents, you need an API key from OpenAI. This key allows Salpre to connect with OpenAI’s language models so your AI can understand and respond intelligently during calls.


🔹 Steps to Get Your OpenAI API Key

  1. Create an OpenAI Account
  2. Log Into the OpenAI Dashboard
    • After signing in, you’ll be redirected to the OpenAI platform dashboard.
  3. Navigate to API Keys
  4. Create a New API Key
    • Click “Create new secret key”.
    • Enter a name for the key (e.g., “Salpre Integration”).
    • Copy the generated key immediately (you won’t be able to see it again).
  5. Paste the Key into Salpre Dashboard
    • Go to Salpre Dashboard → Integrations → Model Providers → OpenAI.
    • Paste the API key into the API Key field.
    • Click Save.
  6. Test the Connection
    • Try starting a call using an AI agent with an OpenAI model (e.g., GPT-4o, GPT-4o-mini).
    • If successful, the AI will respond using OpenAI’s models.

🔹 Important Notes

  • Keep your API key secret — never commit it to code or share it publicly.
  • If you lose or compromise the key, generate a new one in the OpenAI dashboard.
  • OpenAI charges per token usage. Monitor your usage at:
    https://platform.openai.com/usage.
  • Different models (e.g., GPT-4o vs. GPT-4o-mini) have different costs and speeds. Choose based on your needs.

Next