https://retellai.com/?utm_source=discord&utm_medium=seo logo
I am trying to connect retell to grok, using our a...
# ❓・ai-evy-support
d
@AI Evy I am trying to connect retell to grok, using our api key but I can't find any of the settings that allow me to do that. All I can see is "custom LLM url" field
a
Thanks for tagging me @Discount. I'll look through relevant sources and get back to you shortly.
### Answer --- Based on the available sources, the "Custom LLM URL" field you're seeing is specifically for connecting to a Custom LLM via WebSocket [(1) ]() [(2) ]() . This is different from using an API key for a third-party LLM provider like Grok. Custom LLM works through the LLM WebSocket and requires you to deploy your own WebSocket backend [(2) ]() . The Custom LLM URL field expects a WebSocket endpoint in the format
wss://your-domain/llm-websocket/{call_id}
[(1) ]() [(2) ]() . If you want to use Grok with your API key directly (without building a custom WebSocket server) , I don't have information in the available sources about a direct integration option for Grok or a field where you can simply paste an API key for third-party LLM providers. Would you like a general answer based on my knowledge instead? Check out these potentially useful sources: - [LLM WebSocket]() - [Custom LLMs]()
​ To learn more, see the sources I considered: [[1] LLM WebSocket](https://docs.retellai.com/api-references/llm-websocket) [[2] Custom LLMs](https://discord.com/channels/1186424376300679209/1396099334432489524) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
How can I connect retell to grok directly using the api key