AI Settings
Trendz AI features send requests to a large language model (LLM) that you connect in Settings > AI Settings. This page shows how to add a model, check that Trendz can reach it, and choose which features use it.
| AI feature | Where you use it |
|---|---|
| Prompts | AI Widget Summary and other user-created prompts |
| View Assistant | The AI Assistant chat that answers questions and builds views |
| Metric Code Assistant | Metric generation in Metric Explorer |
Before you start
Section titled “Before you start”Get credentials from one of the supported providers:
| Provider | What you need | Where to get it |
|---|---|---|
| Google Gemini (recommended) | API key | Google AI Studio |
| OpenAI | API key | OpenAI platform |
| Amazon Bedrock | AWS region, access key, and secret key | AWS Bedrock API guide |
Open AI Settings
Section titled “Open AI Settings”- Click Settings (gear icon) in the bottom-left corner of the left menu.
- Open the AI Settings tab.
Add an AI model
Section titled “Add an AI model”- On the AI Settings tab, click New AI Model.
- Enter a Name that identifies the model in Trendz, and choose the Provider.
- Choose the Model Name. Trendz fills in the provider’s newest chat model, and the list under the field suggests the others, newest first. Type to filter it, or enter any other model name the provider accepts. The suggestions come from the public models.dev catalog: if Trendz cannot reach it, the field stays empty and you type the model name.
- Enter the credentials. For Google Gemini, that is the API Key.
- Click Check connectivity. Trendz sends a test request to the provider with the values in the form.
- Wait for the result. Connected means the model is ready. On Not connected, hover over the message to see the provider’s error, fix the field it names, and check again.
- Click Save. The model appears in the AI Models list.
You can add several models, like a fast and inexpensive one for prompts and a more capable one for metric code.
Turn on AI features
Section titled “Turn on AI features”- Turn on Enable AI Features.
- Choose how features get their model:
- Use Single Model on: select the model in Single AI Model. Every feature uses it.
- Use Single Model off: select a model for Prompts, View Assistant, and Metric Code Assistant separately. Select Disabled to turn a feature off for everyone in the tenant.
- Click Save.
Edit a model
Section titled “Edit a model”Change a model’s name, provider, model name, or credentials, like when you rotate an API key or move to a newer model. Features that use the model switch to the new values as soon as you save.
- In the AI Models list, click the actions menu (…) in the model’s row and select Edit. Clicking the row itself opens the same form.
- Change the fields you need. The form is the same as New AI Model, and its title shows the model you edit.
- Click Check connectivity and wait for Connected, especially after you change the key or the model name.
- Click Save. Trendz shows AI Model was saved, and the list shows the new values.
Delete a model
Section titled “Delete a model”- Make sure no AI feature still uses the model. If one does, select another model for it in the AI features section and click Save.
- In the AI Models list, click the actions menu (…) in the model’s row and select Delete.
- Click Yes to confirm. Trendz shows Success!, and the model disappears from the list.
Provider fields
Section titled “Provider fields”Every model has a Name, which only labels it in Trendz, and a Provider. The provider decides which other fields the form shows.
| Provider | Field | What to enter |
|---|---|---|
| Google Gemini | Model Name | The Gemini model ID, like gemini-3.5-flash-lite |
| API Key | An API key from Google AI Studio | |
| OpenAI | Base URL | The API endpoint. Leave the default https://api.openai.com/v1 for OpenAI itself, or enter the endpoint of any service with an OpenAI-compatible API, like a self-hosted model server |
| Model Name | The OpenAI model ID | |
| API Key | A secret key from the OpenAI platform | |
| Amazon Bedrock | Region | The AWS region where Bedrock gives your account access to the model, like us-east-1 |
| Model Name | The Bedrock model ID or inference profile ID, as listed in the Bedrock console | |
| Access Key | The access key ID of an IAM user allowed to invoke Bedrock models | |
| Secret Key | The secret access key of that IAM user. See the AWS Bedrock API guide |
When you choose a provider, Trendz fills Model Name with that provider’s newest chat model. Replace it if you want another model. Keys show as dots in the form, including when you edit a saved model.
Token prices depend on the model and change over time. Check the provider’s pricing page before you choose a model.
Was this helpful?