Cannot set auth or custom header for my own model
# support
c
Hi, I am using a custom model in my vapi agent, but i am not able to set any kind of api key or authorization. The documentation is mentioning, that there are possibilities, but i am not able to find them. Can u help me?
v
Vapi does support setting API keys or custom headers for your custom model via the assistant configuration or dashboard. To help you further, could you let me know if you are configuring authentication through the dashboard UI or via the API/JSON directly? Sources: - [Vapi Docs: Server Authentication](https://docs.vapi.ai/server-url/server-authentication) - [Vapi Docs: Custom LLMs](https://docs.vapi.ai/customization/custom-llm/fine-tuned-openai-models) - [Vapi Docs: Using Your Server](https://docs.vapi.ai/customization/custom-llm/using-your-server)
c
I am using the dashboard
k
Go to the Provider Keys section in the Vapi Dashboard to add your API key or OAuth2 credentials, or include custom headers with authorization tokens in your assistant’s server configuration so Vapi can send them with each request..
a
Hey Christoph, search custom LLM on this page and then add the key