Can I use Retool Assist on self-hosted retool with my own API keys?

The question technically is in the heading. I want to use Retool Assists with my own proprietary code, with my own API keys for Claude and OpenAI. Is this possible? I was not able to turn on assist on self-hosted installation( agents feature is there, but Assist is not appearing.

Hi @JimmyS,

Check out our docs here on setting up Assist on self hosted deployments.

Yes you can use Assist with your own API keys.

You have two main options for self-hosted Assist:

  1. Retool-managed keys - These require setting specific environment variables and contacting Retool support for an OPENAI_PROXY_API_TOKEN. However, Retool-provided keys are subject to restrictive rate limits and are not suitable for production use cases.
  2. Self-managed keys (your own API keys) - This is the recommended approach for production. If rate limiting is an issue with Retool keys, you can use your own key and set it from the Settings > AI resource page.