{"id":2222,"date":"2026-08-11T09:57:25","date_gmt":"2026-08-11T07:57:25","guid":{"rendered":"https:\/\/xabia.ai\/byok-google-gemini\/"},"modified":"2026-08-11T10:36:31","modified_gmt":"2026-08-11T09:36:31","slug":"byok-google-gemini","status":"publish","type":"page","link":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/","title":{"rendered":"BYOK Google Gemini"},"content":{"rendered":"<div class=\"wrap\">\n<header class=\"site-header\"> <a class=\"brand\" href=\"https:\/\/xabia.ai\/en\/documentation\/\">Xabia AI <span>Manuals<\/span><\/a><\/p>\n<p class=\"meta\"> <a href=\"https:\/\/xabia.ai\/en\/documentation\/\">\u2190 Index of manuals<\/a> <\/p>\n<\/header>\n<div class=\"hero\">\n<div class=\"logo-row\" aria-hidden=\"true\"><\/div>\n<h1> How to use your own Google Gemini account in Xabia Agent<\/h1>\n<p class=\"lede\"> <strong>BYOK \u2014 Bring Your Own Key.<\/strong> Connect the plugin directly to Google: chatbot requests go from your WordPress site to Google&#8217;s infrastructure, bypassing the Xabia Cloud reload system ( <a href=\"https:\/\/xabia.ai\/en\/#wallet\/\">#wallet<\/a> ).<\/p>\n<\/div>\n<article class=\"content\">\n<div class=\"lede-box\">\n<p> With <strong>Xabia Agent,<\/strong> you have complete control. If you prefer not to use Xabia Cloud top-ups, you can pay Google directly for your usage \u2014 or take advantage of their free credits \u2014 keeping the key on your server.<\/p>\n<\/div>\n<p>\t\t\t<!-- Diagrama flujo --><\/p>\n<figure class=\"flow-diagram\" aria-label=\"Flujo BYOK: WordPress a Google Gemini\">\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Your WordPress<br \/> <small>Visitor writes<\/small><\/div>\n<\/div>\n<p> <span class=\"flow-arrow\" aria-hidden=\"true\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Xabia Agent<br \/> <small>Plugin + your key<\/small><\/div>\n<\/div>\n<p> <span class=\"flow-arrow\" aria-hidden=\"true\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Google Gemini<br \/> <small>AI Studio or Vertex<\/small><\/div>\n<\/div>\n<p> <span class=\"flow-arrow\" aria-hidden=\"true\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Answer<br \/> <small>To the visitor<\/small><\/div>\n<\/div>\n<\/figure>\n<h2> Two ways to connect your Google key<\/h2>\n<div class=\"option-grid\">\n<div class=\"option-card option-card--recommended\"> <span class=\"option-card__badge option-card__badge--rec\">Recommended \u00b7 95% of users<\/span><\/p>\n<h3> Option 1: Google AI Studio<\/h3>\n<p> The fastest. No Google Cloud Console or GCP billing required. Up and running in <strong>under 2 minutes<\/strong> . <\/p>\n<div class=\"option-card__illus\"> aistudio.google.com Create API Key  AIza\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022  \u2192 Paste in Xabia \u2192 Option A (BYOK)<\/div>\n<\/div>\n<div class=\"option-card\"><span class=\"option-card__badge option-card__badge--pro\">Enterprise \u00b7 Xabia PRO<\/span><\/p>\n<h3> Option 2: Google Vertex AI<\/h3>\n<p> For companies with GCP, corporate SLAs, consolidated billing, or data residence in specific regions (e.g., <code>europe-west1<\/code> ). <\/p>\n<div class=\"option-card__illus\"> console.cloud.google.com  Vertex AI  Service Acct  key.json \u2192 Vertex Connector in Xabia Agent PRO<\/div>\n<\/div>\n<\/div>\n<h2> Option 1: Google AI Studio (step by step)<\/h2>\n<p> It&#8217;s the fastest option. It doesn&#8217;t require configuring infrastructure on Google Cloud and is activated in less than 2 minutes.<\/p>\n<ol class=\"steps\">\n<li> Access <a href=\"https:\/\/aistudio.google.com\/app\/apikey\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Google AI Studio<\/strong><\/a> and sign in with your Google account.<\/li>\n<li> Click on the highlighted <strong>&#8220;Create<\/strong> API Key&#8221; button.<\/li>\n<li> Select your project or let Google generate an automatic one and click <strong>&#8220;Create API key in new project&#8221;<\/strong> .<\/li>\n<li> Copy the generated alphanumeric key ( <code>AIza\u2026<\/code> ).<\/li>\n<li> Go to your WordPress dashboard \u2192 <strong>Xabia Agent<\/strong> (or <strong>Xabia LITE<\/strong> ) \u2192 select <strong>&#8220;Option A: Your own Google Gemini key (BYOK)&#8221;<\/strong> and paste the key. Save the settings.<\/li>\n<\/ol>\n<div class=\"panel-screenshot\">\n<div class=\"label\"> View of the Xabia LITE panel<\/div>\n<p> WordPress Admin \u2192 <span class=\"highlight\">Xabia LITE<\/span><br \/> \u25c9 Option A: Your own Google Gemini key (BYOK &#8211; Free)<br \/> Google Gemini API Key: [ \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022 ]<br \/> \u2611 100% Free. No Xabia account required.<\/div>\n<div class=\"callout\"> <strong>Advantages:<\/strong> Includes a <strong>free usage quota renewable monthly<\/strong> by Google and an ultra-economical standard pay-per-use model if you exceed the quota.<\/div>\n<h2> Option 2: Google Vertex AI (Enterprise)<\/h2>\n<p> If your company already operates with <strong>Google Cloud Platform (GCP)<\/strong> , 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.<\/p>\n<h3>Steps for integration with Vertex AI<\/h3>\n<ol class=\"steps\">\n<li> <strong>Create or select project:<\/strong> Access the <a href=\"https:\/\/console.cloud.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Cloud Console<\/a> and select your project.<\/li>\n<li> <strong>Enable the Vertex AI API:<\/strong> In the console search bar, search for &#8220;Vertex AI API&#8221; and click <strong>Enable<\/strong> .<\/li>\n<li> <strong>Create a Service Account:<\/strong>\n<ul>\n<li> Go to <strong>IAM &amp; Administration \u2192 Service Accounts<\/strong> .<\/li>\n<li> Create a new account with the <em>Vertex AI<\/em> <strong>User<\/strong> role.<\/li>\n<\/ul>\n<\/li>\n<li> <strong>Generate JSON key:<\/strong> In the service account you created, go to the <strong>Keys tab \u2192 Add key \u2192 Create new key<\/strong> (JSON format). The <code>.json<\/code> file will be downloaded to your computer.<\/li>\n<li> <strong>Xabia Agent PRO configuration:<\/strong> In the plugin&#8217;s advanced settings, select the <strong>Vertex AI<\/strong> connector, enter your <strong>Project ID<\/strong> , select the region (e.g., <code>europe-west1<\/code> ) and load the contents of the JSON file. <\/li>\n<\/ol>\n<figure class=\"flow-diagram\" aria-label=\"Flujo Vertex AI en GCP\">\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> GCP Project<\/div>\n<\/div>\n<p> <span class=\"flow-arrow\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Vertex AI API<br \/> <small>Enabled<\/small><\/div>\n<\/div>\n<p> <span class=\"flow-arrow\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\"> Service Account<br \/> <small>+ JSON<\/small><\/div>\n<\/div>\n<p> <span class=\"flow-arrow\">\u2192<\/span> <\/p>\n<div class=\"flow-node\">\n<div class=\"flow-node__icon\"><\/div>\n<div class=\"flow-node__label\">Xabia PRO<br \/> <small>Vertex Connector<\/small><\/div>\n<\/div>\n<\/figure>\n<h2> Which method to choose? \u2014 Comparison table<\/h2>\n<div class=\"compare-wrap\">\n<table class=\"compare\">\n<thead>\n<tr>\n<th> Feature<\/th>\n<th> Xabia Cloud Wallet<\/th>\n<th class=\"col-highlight\"> Google AI Studio (BYOK)<\/th>\n<th> Google Vertex AI (BYOK)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> <strong>Difficulty starting<\/strong><\/td>\n<td> \u26a1 Instant (0 min)<\/td>\n<td class=\"col-highlight\"> \ud83d\udfe2 Very easy (2 min)<\/td>\n<td> \ud83d\udd34 Complex (GCP Console)<\/td>\n<\/tr>\n<tr>\n<td> <strong>Google Cloud account<\/strong><\/td>\n<td> Not required<\/td>\n<td class=\"col-highlight\"> Not required<\/td>\n<td> Mandatory (GCP Billing)<\/td>\n<\/tr>\n<tr>\n<td> <strong>Who do you pay for the consumption?<\/strong><\/td>\n<td> To Xabia ( <a href=\"https:\/\/xabia.ai\/en\/#wallet\/\">#wallet<\/a> )<\/td>\n<td class=\"col-highlight\"> Go directly to Google.<\/td>\n<td> To Google Cloud (GCP invoice)<\/td>\n<\/tr>\n<tr>\n<td> <strong>Ideal for\u2026<\/strong><\/td>\n<td> For those seeking zero complications<\/td>\n<td class=\"col-highlight\"> Freelancers, websites and SMEs<\/td>\n<td> Enterprise Companies and Projects<\/td>\n<\/tr>\n<tr>\n<td> <strong>Available in<\/strong><\/td>\n<td> Xabia LITE and PRO<\/td>\n<td class=\"col-highlight\"> Xabia LITE and PRO<\/td>\n<td> <span class=\"tag\">Xabia Agent PRO<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>Useful links<\/h2>\n<ul>\n<li> <a href=\"https:\/\/aistudio.google.com\/app\/apikey\" target=\"_blank\" rel=\"noopener noreferrer\">Google AI Studio \u2014 Create API Key<\/a><\/li>\n<li> <a href=\"https:\/\/console.cloud.google.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Cloud Console<\/a><\/li>\n<li> <a href=\"https:\/\/xabia.ai\/en\/#wallet\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xabia Cloud \u2014 Top-ups (#wallet)<\/a><\/li>\n<li> <a href=\"https:\/\/xabia.ai\/en\/xabia-agent-core\/\">Xabia Agent Core Manual<\/a><\/li>\n<li> <a href=\"https:\/\/xabia.ai\/en\/documentation\/\">Index of Xabia AI manuals<\/a><\/li>\n<\/ul>\n<div class=\"callout\" style=\"background:#e8f4fc;border-color:#c5dae8\"> <strong>Privacy:<\/strong> In BYOK mode, chat requests go <strong>directly from your WordPress server to Google<\/strong> . The key is stored encrypted on your installation. Xabia does not bill or proxy this traffic unless you explicitly choose Xabia Cloud.<\/div>\n<\/article>\n<footer class=\"site-footer\">\n<p> Published in <code>xabia.ai\/docs\/<\/code><\/p>\n<p class=\"credit\"> Made by Digixop ( <a href=\"https:\/\/digixop.com\" target=\"_blank\" rel=\"noopener noreferrer\">digixop.com<\/a> )<\/p>\n<\/footer>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Xabia AI Manuals \u2190 Index of manuals How to use your own Google Gemini account in Xabia Agent BYOK \u2014 Bring Your Own Key. Connect the plugin directly to Google: chatbot requests go from your WordPress site to Google&#8217;s infrastructure, bypassing the Xabia Cloud reload system ( #wallet ). With Xabia Agent, you have complete [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2221,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-2222","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>BYOK Google Gemini<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BYOK Google Gemini\" \/>\n<meta property=\"og:description\" content=\"Xabia AI Manuals \u2190 Index of manuals How to use your own Google Gemini account in Xabia Agent BYOK \u2014 Bring Your Own Key. Connect the plugin directly to Google: chatbot requests go from your WordPress site to Google&#8217;s infrastructure, bypassing the Xabia Cloud reload system ( #wallet ). With Xabia Agent, you have complete [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/\" \/>\n<meta property=\"og:site_name\" content=\"Xabia\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-11T09:36:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/byok-google-gemini\\\/\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/byok-google-gemini\\\/\",\"name\":\"BYOK Google Gemini\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#website\"},\"datePublished\":\"2026-08-11T07:57:25+00:00\",\"dateModified\":\"2026-08-11T09:36:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/byok-google-gemini\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/byok-google-gemini\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/documentation\\\/byok-google-gemini\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BYOK Google Gemini\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\",\"name\":\"Xabia Ai\",\"description\":\"Sabidur\u00eda natural con inteligencia artificial\",\"publisher\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#organization\"},\"alternateName\":\"Xabia Ai, nueva integencia artificial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/xabia.ai\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#organization\",\"name\":\"Xabia Ai\",\"alternateName\":\"Xabia Agent Next\",\"url\":\"https:\\\/\\\/xabia.ai\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/xabia.ai\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/icono-xabia-trans.svg\",\"contentUrl\":\"https:\\\/\\\/xabia.ai\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/icono-xabia-trans.svg\",\"width\":325,\"height\":406,\"caption\":\"Xabia Ai\"},\"image\":{\"@id\":\"https:\\\/\\\/xabia.ai\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BYOK Google Gemini","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/","og_locale":"en_US","og_type":"article","og_title":"BYOK Google Gemini","og_description":"Xabia AI Manuals \u2190 Index of manuals How to use your own Google Gemini account in Xabia Agent BYOK \u2014 Bring Your Own Key. Connect the plugin directly to Google: chatbot requests go from your WordPress site to Google&#8217;s infrastructure, bypassing the Xabia Cloud reload system ( #wallet ). With Xabia Agent, you have complete [&hellip;]","og_url":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/","og_site_name":"Xabia","article_modified_time":"2026-08-11T09:36:31+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/","url":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/","name":"BYOK Google Gemini","isPartOf":{"@id":"https:\/\/xabia.ai\/en\/#website"},"datePublished":"2026-08-11T07:57:25+00:00","dateModified":"2026-08-11T09:36:31+00:00","breadcrumb":{"@id":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/xabia.ai\/en\/documentation\/byok-google-gemini\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/xabia.ai\/en\/"},{"@type":"ListItem","position":2,"name":"BYOK Google Gemini"}]},{"@type":"WebSite","@id":"https:\/\/xabia.ai\/en\/#website","url":"https:\/\/xabia.ai\/en\/","name":"Xabia Ai","description":"Sabidur\u00eda natural con inteligencia artificial","publisher":{"@id":"https:\/\/xabia.ai\/en\/#organization"},"alternateName":"Xabia Ai, nueva integencia artificial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/xabia.ai\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/xabia.ai\/en\/#organization","name":"Xabia Ai","alternateName":"Xabia Agent Next","url":"https:\/\/xabia.ai\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/xabia.ai\/en\/#\/schema\/logo\/image\/","url":"https:\/\/xabia.ai\/wp-content\/uploads\/2026\/07\/icono-xabia-trans.svg","contentUrl":"https:\/\/xabia.ai\/wp-content\/uploads\/2026\/07\/icono-xabia-trans.svg","width":325,"height":406,"caption":"Xabia Ai"},"image":{"@id":"https:\/\/xabia.ai\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/comments?post=2222"}],"version-history":[{"count":0,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2222\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/pages\/2221"}],"wp:attachment":[{"href":"https:\/\/xabia.ai\/en\/wp-json\/wp\/v2\/media?parent=2222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}