# PromptRails + OpenAI Integration

Source: https://0.0.0.0:8080/integrations/openai

---

[All Integrations](/integrations)

![OpenAI](/images/logos/openai.svg)

# OpenAI

LLM Providers

Access the full suite of OpenAI models including GPT-4o, o1, and text-embedding models. Use them for chat, completion, function calling, and embeddings within your PromptRails agents.

## How to Connect

1.  1Go to Settings and then Credentials.
2.  2Click Add Credential and select OpenAI.
3.  3Enter your OpenAI API key.
4.  4Use the credential in any agent configuration.

[Documentation](/docs/credentials)[OpenAI API Reference](https://platform.openai.com/docs/api-reference)

[Get Started](https://app.promptrails.ai)
