Gemini in Looker represents a series of features in the [Gemini for Google Cloud](https://docs.cloud.google.com/gemini/docs/overview) portfolio that provides generative AI-powered assistance to help you analyze and gain valuable insights from your data.

Learn [how and when Gemini
for Google Cloud uses your data](https://docs.cloud.google.com/gemini/docs/discover/data-governance).

## Available features in Looker

When Gemini in Looker is enabled, Looker users can perform the following tasks in a
Looker (Google Cloud core) instance or a Looker (original) instance:

- [**Ask questions about and converse with your data using Conversational Analytics**](https://docs.cloud.google.com/looker/docs/2520/conversational-analytics-overview): Gemini in Looker lets you ask questions about your data source by using natural language. Gemini returns Data Studio charts or data tables that are based on your query. You can learn more about how your response was generated and save your conversation for future reference.
- [**Generate custom Looker visualizations**](https://docs.cloud.google.com/looker/docs/2520/custom-looker-visualization-gemini) \[[Preview](https://cloud.google.com/products/#product-launch-stages)\]: Gemini in Looker lets you customize formatting options for Looker visualizations by using natural language. Gemini generates JSON formatting options from text-based prompts, which you can apply to your visualization. You can also use prompts as a starting point for creating templates and patterns for more complex customizations and then [manually update the visualization formatting options](https://docs.cloud.google.com/looker/docs/2520/chart-config-editor).
- [**Generate LookML**](https://docs.cloud.google.com/looker/docs/2520/write-lookml-gemini) \[[Preview](https://cloud.google.com/products/#product-launch-stages)\]: Gemini in Looker assists you in generating LookML parameters. Gemini suggests LookML parameters that are based on a natural language prompt, which you can add to your project files.

## Toggle features in Looker

To access these features in a Looker (original) instance, a Looker admin must [enable Gemini in Looker](https://docs.cloud.google.com/looker/docs/2520/admin-panel-platform-gil) in the Looker (original) instance settings. The instance must be on Looker 25.2 or later and be Looker-hosted. Conversational Analytics is available on Looker instances on 25.0 or later. A Looker admin can use the same instructions to subsequently disable features.

To access these features in a Looker (Google Cloud core) instance, a user with the [Looker Admin](https://docs.cloud.google.com/iam/docs/roles-permissions/looker#looker.admin) (`roles/looker.admin`) IAM role must [enable Gemini in Looker](https://docs.cloud.google.com/looker/docs/looker-core-admin-gemini) in the Looker (Google Cloud core) instance settings in the Google Cloud console. A user with the Looker Admin IAM role can use the same instructions to subsequently disable features.

### Grant permissions to use Gemini in Looker features

To use Gemini in Looker features in a Looker instance, users must be granted a Looker role that contains the [`gemini_in_looker` permission](https://docs.cloud.google.com/looker/docs/2520/admin-panel-users-roles#gemini_in_looker) for the models that they're applying Gemini assistance to. This permission is available as part of the default [Gemini role](https://docs.cloud.google.com/looker/docs/2520/admin-panel-users-roles#gemini).

The following Gemini in Looker features require additional permissions:

- To [create custom visualizations with Gemini assistance](https://docs.cloud.google.com/looker/docs/2520/custom-looker-visualization-gemini), you must be assigned a Looker role that contains the [`can_override_vis_config`](https://docs.cloud.google.com/looker/docs/2520/admin-panel-users-roles#can_override_vis_config) permission.
- To [write LookML with Gemini assistance](https://docs.cloud.google.com/looker/docs/2520/write-lookml-gemini), you must be assigned a Looker role that contains the [`develop`](https://docs.cloud.google.com/looker/docs/2520/admin-panel-users-roles#develop) permission for at least one model in a LookML project.
- To query Looker data, or to create a data agent with [Conversational Analytics](https://docs.cloud.google.com/looker/docs/2520/conversational-analytics-overview) or with the [Conversational Analytics API](https://docs.cloud.google.com/gemini/docs/conversational-analytics-api/overview), you must be assigned a Looker role that contains the [`access_data`](https://docs.cloud.google.com/looker/docs/2520/admin-panel-users-roles#access_data) permission for the model that you are querying. [Additional permissions are required to manage and use data agents](https://docs.cloud.google.com/looker/docs/2520/conversational-analytics-data-agents-looker) with Conversational Analytics in Looker.

## Use Gemini in Looker with both Data Studio and Looker

Looker users can also interact with the Gemini in Looker features that appear in Data Studio as part of a [Data Studio Pro subscription](https://docs.cloud.google.com/looker/docs/studio/looker-studio-pro-subscription-overview).

If you are also a Looker user and your Looker admin has accepted the complimentary Data Studio Pro licenses for your [Looker (Google Cloud core) instance](https://docs.cloud.google.com/looker/docs/looker-core-lsp) or [Looker (original) instance](https://docs.cloud.google.com/looker/docs/admin-panel-platform-lsp), you can access the Gemini in Looker features that appear in Data Studio when Gemini in Looker is enabled for your Data Studio Pro subscription.

## Where to interact with Gemini in Looker features

After Gemini in Looker is enabled, you can seek Gemini assistance in the parts of Looker that are described in the following sections.

### Main navigation menu

To access Conversational Analytics, follow these steps:

1. Navigate to the [main navigation menu](https://docs.cloud.google.com/looker/docs/2520/finding-content#using_the_main_navigation_menu).
2. Select chat_spark **Conversations**.

### Create menu

To access Conversational Analytics, follow these steps:

1. Navigate to the Looker instance homepage.
2. Select the **Create** menu in the [main navigation menu](https://docs.cloud.google.com/looker/docs/2520/finding-content#using_the_main_navigation_menu).
3. Select chat_spark **Conversation**.

### Looker Explore

To access Conversational Analytics, follow these steps:

1. Navigate to the [Looker Explore](https://docs.cloud.google.com/looker/docs/2520/viewing-and-interacting-with-explores#the_explore_page) that contains the data that you would like to chat with.
2. Select **Start a conversation**.

### Visualization chart configuration

The **Visualization Assistant** is available for visualizations that use the
HighCharts API, which includes most [Cartesian charts](https://docs.cloud.google.com/looker/docs/2520/visualization-types#cartesian_charts),
such as the [column chart](https://docs.cloud.google.com/looker/docs/2520/column-options), [bar chart](https://docs.cloud.google.com/looker/docs/2520/bar-options),
and [line chart](https://docs.cloud.google.com/looker/docs/2520/line-options).

To access the **Visualization Assistant**, follow these steps:

1. View a supported visualization in an Explore, or edit a visualization in a Look or dashboard.
2. Open the **Edit** menu in the visualization.
3. Click **Visualization Assistant** to open the prompt menu.

For more information, see [Create visualizations with Gemini assistance](https://docs.cloud.google.com/looker/docs/2520/custom-looker-visualization-gemini).

### Looker IDE

To use Gemini to create LookML in your
Looker project, follow these steps:

1. On your Looker instance, enable [Development Mode](https://docs.cloud.google.com/looker/docs/2520/dev-mode-prod-mode#development_mode).
2. [Open your project in the Looker IDE](https://docs.cloud.google.com/looker/docs/2520/looker-ide#accessing-ide).
3. Use the IDE [file browser](https://docs.cloud.google.com/looker/docs/2520/ide-folders) to open a LookML view file in which you want to insert LookML.
4. Select the **Help Me Code** icon from the side panel selector.

For more information, see [Write LookML with Gemini assistance](https://docs.cloud.google.com/looker/docs/2520/write-lookml-gemini).

## Understand the compliance capabilities of Gemini in Looker features

Google Cloud [Preview](https://cloud.google.com/products#product-launch-stages) features are generally not in scope for formal compliance certification support and are not recommended for use with regulated workloads or sensitive data unless otherwise stated.

Conversational Analytics is not yet included in [FedRAMP High or FedRAMP Medium](https://docs.cloud.google.com/assured-workloads/docs/control-packages#regulatory-data-boundaries) authorization boundaries. Prior to enabling the **Gemini in Looker** setting for your Looker instance, discuss with your authorizing body whether Gemini for Google Cloud's compliance offerings meet the needs of your organization.

For Looker (Google Cloud core) instances, each [Assured Workloads control package](https://docs.cloud.google.com/assured-workloads/docs/control-packages) that becomes available will add Gemini in Looker features as default offerings as that package's change requirements and processes are met. Conversational Analytics in Looker respects the compliance capabilities of the associated Looker (Google Cloud core) instance, with the following exception:
> Data Residency (DRZ) support, specifically for data-at-rest, is available to all Looker customers. All data-at-rest that is associated with Conversational Analytics resides strictly within the Looker instance and is confined to a single region. Data in transit may be processed using a global service.

## Related resources

- Gemini in Looker feature [pricing](https://cloud.google.com/looker/pricing).
- [Gemini for Google Cloud overview](https://docs.cloud.google.com/gemini/docs/overview)
- Learn how [Gemini for Google Cloud uses your data](https://docs.cloud.google.com/gemini/docs/discover/data-governance).
- Learn more about [Google Cloud compliance](https://cloud.google.com/security/compliance).