Skip to main content

Configure your organization to use apps

An organization admin must complete the steps in the following sections to make sure their organization is ready to use the AI app builder.

Enable the app builder​

To ensure that builders in your organization can build apps, navigate to Settings > AI. Toggle on the AI App Builder.

Configure firewall​

If your organization makes use of firewall rules, you must include retool.app in its allowlist. This allows your instance to connect to Retool's user authentication and usage reporting services.

This step is required because published apps are served at retool.app, using the following URL structure: <orgSubdomain>--<app-name-slug>.retool.app. For example, an example app URL could be exampleOrg--overtime-requests.retool.app.

Configure support for npm packages​

Public third-party npm packages are enabled by default. To disable this setting, navigate to Settings > Advanced settings and toggle off Allow third-party npm packages in apps.

The app building agent searches the internet to answer questions or provide more context, or perform web searches as a function call in published apps. In Settings > AI, admins can choose to turn off Web Search entirely, or configure the provider for agent web searches.

By default, web searches use a Tavily API key that Retool manages for you. Web searches are rate limited based on your organization's plan:

  • Free plans: 100 requests per day per organization, and 10 requests per minute.
  • Paid plans: 500 requests per day per organization, and 50 requests per minute.

To avoid being subject to Retool's rate limit, configure web search to use a Tavily resource with your own API key. Use the following steps if you don't already have a Tavily resource:

  1. In your Tavily account, generate a new API key for use with Retool.
  2. Create a new Tavily resource in Retool.
    1. Name the resource, for example Web search for app building.
    2. Check Provide my own API key.
    3. Paste your API key.
    4. Click Create resource.
  3. In Settings > AI, click the Provider drop-down in the Web Search section. Choose the resource you created in the previous step.

Track AI credit usage​

Retool's AI-powered features use organization-level monthly AI credits. Your organization's plan determines how many credits you receive each month. Credits renew on the first day of each billing month and do not roll over.Credits renew on the first day of your plan’s billing cycle and do not roll over.

Organization admins can monitor AI credit usage in the Plans & Billing settings under the AI Credits tab. The tab shows your usage against your allocation, along with any purchased credits and when they expire.

note

Enterprise organizations also have access to the AI monitoringAI visibility settings page, which provides a granular view of Retool-managed key usage and BYOK usage. You can filter AI usage by model, user, and feature.

To limit how much AI each user, group, or model can use, refer to Set spend controls for AI usage.

For more information about usage and billing, refer to the AI credits documentation.