The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
docs - ai service (#73187)
Jeff Bruemmerc14aad562449
diff --git a/docs/ai/settings.md b/docs/ai/settings.mdindex 95054ac0dd7..a362c29bfeb 100644--- a/docs/ai/settings.md+++ b/docs/ai/settings.md@@ -7,33 +7,23 @@ redirect_from:# AI settings-> AI features are available with your own AI provider API key, or as an add-on on [Metabase Cloud](https://www.metabase.com/features/metabot-ai).+> AI features are available on [Metabase Cloud](https://www.metabase.com/features/metabot-ai) and on self-hosted Metabase, using either the Metabase AI service or your own AI provider API key._Admin > AI_This page covers admin settings for AI features in Metabase, including [Metabot](./metabot.md).-On **Metabase Cloud** you can either:+## Enable AI features-- [Purchase the Metabot add-on](#add-metabot-from-the-metabase-store) from the Metabase Store, or-- [Bring your own API key](#bring-your-own-api-key) from a supported AI provider.+AI features are available on both Metabase Cloud and self-hosted Metabase. To turn them on:-On **self-hosted Metabases**: you can [bring your own API key](#bring-your-own-api-key) from a supported AI provider.+1. Go to **Admin settings > AI**.+2. In **Connect to an AI provider**, choose a **Provider**:+ - **Metabase**: The Metabase AI service. Metabase picks a benchmarked, cost-effective model for you, and billing is managed through your Metabase account. Agree to the **Metabase AI add-on Terms of Service** and click **Connect**.+ - Another supported provider. See [bring your own API key](#bring-your-own-api-key).+3. Once connected, configure [Metabot](#configure-metabot) and other AI features below.-## Add Metabot from the Metabase Store--If you're on [Metabase Cloud](https://www.metabase.com/cloud/), you can add Metabot from the Metabase Store:--1. Go to [store.metabase.com](https://store.metabase.com).-2. Log in with your **Metabase Store account** (distinct from the account you use to log in to your Metabase).-3. In the **Instances** tab, find the instance you'd like to add Metabot to, and click "Add Metabot AI".-4. Pick the plan based on the number of requests you expect you'll need.-- A "request" is any message anyone in your Metabase sends to Metabot. Several messages sent within the same chat session are counted as separate requests. Requests are added across the entire instance.--5. Read through the [terms of service](https://www.metabase.com/license/hosting) and click **Add Metabot AI**.--Once you've added Metabot AI in the Metabase store, you can log in to your Metabase and configure it in _Admin > AI_.+> The Metabase AI add-on only appears in your Metabase Store account after you've connected to the Metabase AI service in **Admin settings > AI**. If you're on a Pro trial and don't see the add-on in **Manage plan**, connect it from Admin first; the Store will reflect it after.## Bring your own API key@@ -192,7 +182,7 @@ In other words, to restrict what data Metabot can see for each person, simply ap## Viewing Metabot usage-If you're on Metabase Cloud with the Metabot add-on, you can see how many Metabot requests people have made this month by going to **Admin > Settings > License**.+If you're using the Metabase AI service, you can see how many Metabot requests people have made this month by going to **Admin > Settings > License**.If you aren't logged into the [Metabase Store](../cloud/accounts-and-billing.md), you'll need to log in to the store before you can view the usage. Once logged in to the store, go back to your Metabase and view the license page.@@ -204,11 +194,11 @@ If you're using your own API key, you can track usage and costs through your AIIf you're using your own API key, you can choose which AI model Metabase uses when you [bring your own API key](#bring-your-own-api-key).-On Metabase Cloud, Metabase's AI service selects models automatically. We use internal benchmarks to determine which AI models work best for different tasks, and we're constantly iterating to improve performance.+When using the Metabase AI service, Metabase selects models automatically. We use internal benchmarks to determine which AI models work best for different tasks, and we're constantly iterating to improve performance.## Privacy-On Metabase Cloud with the Metabot add-on, your questions and conversations remain private to your Metabase -- we don't send your data to external services. We do collect some metadata to gauge and improve usage.+When using the Metabase AI service, your questions and conversations remain private to your Metabase -- we don't send your data to external services. We do collect some metadata to gauge and improve usage.If you're using your own API key, your prompts and data are sent to your selected AI provider. Review your provider's data handling and privacy policies. When using the [MCP server](./mcp.md), query results are sent to the connected MCP client.diff --git a/docs/ai/start.md b/docs/ai/start.mdindex 9e6101bf05c..b2e484499c6 100644--- a/docs/ai/start.md+++ b/docs/ai/start.md@@ -4,7 +4,7 @@ title: "AI in Metabase"# AI in Metabase-> AI features are available as an add-on on [Metabase Cloud](https://www.metabase.com/features/metabot-ai), or on self-hosted Metabase with your own AI provider API key.+> AI features are available on [Metabase Cloud](https://www.metabase.com/features/metabot-ai) and on self-hosted Metabase, using either the Metabase AI service or your own AI provider API key. Enable them from **Admin settings > AI**.## [Metabot](./metabot.md)diff --git a/docs/data-studio/transforms/transforms-overview.md b/docs/data-studio/transforms/transforms-overview.mdindex 74f0f47e100..13bd2aa139f 100644--- a/docs/data-studio/transforms/transforms-overview.md+++ b/docs/data-studio/transforms/transforms-overview.md@@ -95,7 +95,7 @@ To create a transform:If you're writing a SQL transform, variables _must_ be wrapped in optional blocks (`[[ ]]`), or given a default value. See [variables in SQL transforms](query-transforms.md#variables-in-sql-transforms) for more details.- If you have the Metabot AI add-on, you can [use Metabot](#use-metabot-to-generate-code-for-transforms) to generate code for your transform.+ If [Metabot is enabled](../../ai/settings.md#enable-ai-features), you can [use Metabot](#use-metabot-to-generate-code-for-transforms) to generate code for your transform.6. Click **Save** in the top right corner and fill out the transform information:@@ -111,7 +111,7 @@ To create a transform:## Use Metabot to generate code for transforms-> Code generation for transforms requires the **Metabot AI** and **Transforms** add-ons.+> Code generation for transforms requires [Metabot to be enabled](../../ai/settings.md#enable-ai-features) and the **Transforms** add-on.You can ask Metabot to generate a new SQL or Python-based transform, or edit an existing transform.