InformationTitleLeanData Admin - Using Your Own Gemini API KeyURL NameLeanDataAdminUsingYourOwnGeminiAPIKey6901c890bb2a3Step-by-StepOverview LeanData uses a Bring Your Own LLM (BYOLLM) model for supported AI tools. This means you connect LeanData to your organization’s Gemini account by providing your own Gemini API key.Once your Gemini integration is authorized, LeanData can use your key to power LeanData AI features such as the AI Inference Node, AI Graph Summaries, and AI Graph Comparisons in FlowBuilder. Use Cases / When to Use This Feature Use your own Gemini API key when you want to: Enable LeanData AI tools (for example, the AI Inference Node) in your LeanData environment.Support internal security or data governance requirements by managing the API key within your organization. Prerequisites Before you begin, confirm the following: You have access to the LeanData app and permission to manage Integrations.You have a Gemini account with permission to create an API key. Step-by-Step Instructions Step 1: Open the Gemini integration in LeanData In the LeanData app, select Integrations in the left navigation.In Routing tab, in the AI section, locate the Google Gemini tile.Click Get Started. Step 2: Create and Copy a Gemini API key In a separate browser tab, log in to your Google Gemini account.Create an API key (also called an API token).Copy your API Key. Step 3: Authorize Gemini in LeanData Return to the LeanData App.Paste your Gemini API key into the authorization field.Select Authorize Google Gemini. Step 4: Select Gemini as your LLM provider for your AI Features To use the AI Inference Node with your Gemini key, you must also select Gemini as your LLM provider. In the LeanData app, open Admin in the left navigation.Select Settings.Open the AI Tools tab.Confirm your desired AI features are enabledSelect Gemini in the appropriate Provider dropdowns.Click Save Changes in the upper right when you are done FAQs How long does it take to generate a summary or comparison? Generation time will vary depending on the complexity and size of your routing graph. It can be as quick as several seconds, but may take up to several minutes. Is my routing data sent outside of LeanData for AI processing? Data is only analyzed during processing, and no personally identifiable information (PII) is included in the data sent for AI analysis. What if my organization has concerns about the use of AI? LeanData's AI Graph Summary, Comparison, and AI Inference node may be disabled for organizations with AI sensitivity concerns. You can disable this in Admin > Settings > AI Tools. For questions or additional assistance please contact LeanData Support.