How to use your own Google Gemini account in Xabia Agent
BYOK — Bring Your Own Key. Connect the plugin directly to Google: chatbot requests go from your WordPress site to Google’s infrastructure, bypassing the Xabia Cloud reload system ( #wallet ).
With Xabia Agent, you have complete control. If you prefer not to use Xabia Cloud top-ups, you can pay Google directly for your usage — or take advantage of their free credits — keeping the key on your server.
Visitor writes
Plugin + your key
AI Studio or Vertex
To the visitor
Two ways to connect your Google key
Option 1: Google AI Studio
The fastest. No Google Cloud Console or GCP billing required. Up and running in under 2 minutes .
Option 2: Google Vertex AI
For companies with GCP, corporate SLAs, consolidated billing, or data residence in specific regions (e.g., europe-west1 ).
Option 1: Google AI Studio (step by step)
It’s the fastest option. It doesn’t require configuring infrastructure on Google Cloud and is activated in less than 2 minutes.
- Access Google AI Studio and sign in with your Google account.
- Click on the highlighted “Create API Key” button.
- Select your project or let Google generate an automatic one and click “Create API key in new project” .
- Copy the generated alphanumeric key (
AIza…). - Go to your WordPress dashboard → Xabia Agent (or Xabia LITE ) → select “Option A: Your own Google Gemini key (BYOK)” and paste the key. Save the settings.
WordPress Admin → Xabia LITE
◉ Option A: Your own Google Gemini key (BYOK – Free)
Google Gemini API Key: [ •••••••••••••••••••• ]
☑ 100% Free. No Xabia account required.
Option 2: Google Vertex AI (Enterprise)
If your company already operates with Google Cloud Platform (GCP) , requires corporate service level agreements (SLAs), consolidated billing, or data residency in specific regions (e.g., Western Europe), you can connect Xabia Agent using Vertex AI.
Steps for integration with Vertex AI
- Create or select project: Access the Google Cloud Console and select your project.
- Enable the Vertex AI API: In the console search bar, search for “Vertex AI API” and click Enable .
- Create a Service Account:
- Go to IAM & Administration → Service Accounts .
- Create a new account with the Vertex AI User role.
- Generate JSON key: In the service account you created, go to the Keys tab → Add key → Create new key (JSON format). The
.jsonfile will be downloaded to your computer. - Xabia Agent PRO configuration: In the plugin’s advanced settings, select the Vertex AI connector, enter your Project ID , select the region (e.g.,
europe-west1) and load the contents of the JSON file.
→
Enabled
→
+ JSON
→
Vertex Connector
Which method to choose? — Comparison table
| Feature | Xabia Cloud Wallet | Google AI Studio (BYOK) | Google Vertex AI (BYOK) |
|---|---|---|---|
| Difficulty starting | ⚡ Instant (0 min) | 🟢 Very easy (2 min) | 🔴 Complex (GCP Console) |
| Google Cloud account | Not required | Not required | Mandatory (GCP Billing) |
| Who do you pay for the consumption? | To Xabia ( #wallet ) | Go directly to Google. | To Google Cloud (GCP invoice) |
| Ideal for… | For those seeking zero complications | Freelancers, websites and SMEs | Enterprise Companies and Projects |
| Available in | Xabia LITE and PRO | Xabia LITE and PRO | Xabia Agent PRO |
Useful links
- Google AI Studio — Create API Key
- Google Cloud Console
- Xabia Cloud — Top-ups (#wallet)
- Xabia Agent Core Manual
- Index of Xabia AI manuals