# How to create a Gemini connection

To use [AI Text generation in Channable](/manage-improve-product-data/optimize-attributes-with-ai/how-to-use-ai-generated-text.md), you need to connect your Gemini account that will be responsible for the tokens you spend on AI text generation.

### <i class="fa-memo-circle-check">:memo-circle-check:</i> Before you start <a href="#before-you-start" id="before-you-start"></a>

**You'll need**

* Access to an Gemini account
* A Core Pro Channable plan

**Good to know**

* You may need **access permissions** if you use a corporate account. Contact your company's IT Support (or the team that owns AI Google Studio API access) to request the key or if you encounter an error when creating a project.
* Google AI Studio is available for all Google accounts without additional actions (except for some ages and corporate or regional restrictions).
* Google Billing works on a post-paid, pay-as-you-go model.
  * [Gemini 3.1 Flash-Lite model token costs](https://ai.google.dev/gemini-api/docs/pricing#gemini-3.1-flash-lite)

{% stepper %}
{% step %}

### Create an API key in Google AI Studio

1. Go to [Google AI Studio > API Keys](https://aistudio.google.com/api-keys) and choose the account from which you can spend tokens. It can be a company’s, agency’s or a personal account.
2. Click **Create API Key**.

<figure><img src="/files/Kppqbl968y1YmHZsoU2B" alt=""><figcaption></figcaption></figure>

3. Select an existing project or click **Create project** to make a new project.
4. Click **Create key**.
5. Click on the key title in the table and copy the API key to your clipboard. Immediately make note of your key and put the information in a safe place, as you will need it in the next step.&#x20;

{% hint style="success" %}
**Tip:** You can also copy it from the list in **Dashboard > API Keys** later when you need it.
{% endhint %}

<figure><img src="/files/1V3cfAS1A3Z3NhVsgWPZ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Set up billing <mark style="color:$info;">(if needed)</mark>

In **API keys,** check the **Quota tier** for the key you created.&#x20;

* If it's marked as a **Free tier**,[ you'll need to set up billing information](#user-content-fn-1)[^1].&#x20;
* If you already have another tier for different tools in your organization, continue to the next step.

<figure><img src="/files/b2ImdL0lRGcjy68duHQx" alt=""><figcaption></figcaption></figure>

1. Click **Set up billing** and follow the instructions. After adding a credit card, make sure the **Quota tier** column is set to Tier 1 or higher. If so, continue to Step 3.

{% hint style="success" %}
**Tip:** New Gemini API users can get a $300[ free trial credit](https://support.google.com/cloud/answer/7006543?hl=en) for 3 months (as of March 2026).
{% endhint %}

2. Click **Activate bidding**.

<details>

<summary>How do I know how much I'll end up spending?</summary>

Spending on AI text generation depends on the amount of input data, prompt length, length of output data and a number of products in the list for generation.

The **Estimated generation cost** will be indicated in the prompting and finalizing steps of the feature you're using it with.

</details>
{% endstep %}

{% step %}

### Create a Gemini connection in Channable

1. Go to **\[your company] > \[your project] > Optimize**.
2. Click **+ Generate text with AI** to start the setup.
   1. Choose the type of content.
   2. At **AI connection**, click **Gemini** and **Connect**.
   3. Add a new connection and paste your API key you copied Step 1.

3\. Finish the setup according to the instructions in the tab above.
{% endstep %}
{% endstepper %}

### Step 3: Create a connection in Channable

1. Go to **\[your company] > \[your project] > Optimize**.
2. Click **+ Generate text with AI** to start the setup.
3. In the pop up, select the type of content that you want to create. The content type you select defines the prompt template that you will work with in the Prompting step.

   * **Titles:** Generate AI text suggestions to improve product titles.
   * **Descriptions:** Generate AI text suggestions to improve product descriptions.
   * **Free text:** Generate AI text suggestions for specific text fields.

   <figure><img src="/files/0aOgwT2F1n0M3d5tA0No" alt=""><figcaption></figcaption></figure>
4. Click **Continue**.
5. You will be directed to the **Settings** step to configure your generator. Fill in these details:
   1. At **Name**, add a descriptive name so it's easier to find your AI generated text set later.
   2. At **AI connection**, select **Gemini** > **Connect**. A pop-up will appear.&#x20;
      1. For **Connection type**, click the dropdown and select **Gemini**.
      2. For **Label**, give your connection a descriptive name (like 'Gemini connection')
      3. For **API key**, paste the key you noted from Step 1.
      4. Click **Connect with Gemini**.
6. Click **Save**.

Your connection will be logged and ready to use when you want to set up an AI text generator.&#x20;

### Continue setting up a generator

{% content-ref url="/pages/Rbvmo4oRgwc42C3YHF2R" %}
[How to use AI generated text](/manage-improve-product-data/optimize-attributes-with-ai/how-to-use-ai-generated-text.md)
{% endcontent-ref %}

[^1]: The free tier is unsuitable for content generation due to strict limitations and lack of data confidentiality.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpcenter.channable.com/manage-improve-product-data/optimize-attributes-with-ai/how-to-use-ai-generated-text/how-to-create-a-gemini-connection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
