Open AI and Gemini Settings

2. Configure OpenAI Settings

  • After creating a new configuration, open the App Settings screen.
  • Go to the AI Settings section.
  • Select OpenAI from the drop-down menu.
  • Click on the ADD NEW button.
  • In the pop-up window that opens, configure the following settings:
    • Name: Name to give to the configuration.
    • API Key: API key required to access OpenAI services.

How to Get OpenAI API Key?

  1. Log in to your OpenAI account by going to https://auth.openai.com/log-in.
    • If you do not have an account, you can create a new account using the Sign Up option.
    • Alternatively, you can log in with your Google or other accounts.
  1. Go to https://platform.openai.com/api-keys and click on the Create new secret key button.
  1. In the window that opens, give your API key a name and click on the Create secret key button.
  1. Copy the generated API Key and keep it in a safe place.
You will not be able to see this key again later. In case you lose it, you will need to create a new key.
  • Finish the configuration by saving the settings.
  • Complete the configuration by saving the settings.

3. Configure Gemini Settings

  • Select Gemini in the AI Settings section.
  • Click on the ADD NEW button.
  • In the pop-up window that opens, configure the following settings:
    • Name: Name to give to the configuration.
    • Service Account JSON: Credentials required to access Gemini services. Upload your JSON file by clicking the CHOOSE button.
  • Save the settings and complete the configuration.

How to Configure Gemini Settings

To use Google's Gemini models, you will first need a Google Service Account JSON file. You can obtain this file and integrate it into the Kuika platform by following the steps below:

How to Get Google Service Account JSON?

A. Create a Project in Google Console

  1. Go to https://console.cloud.google.com/.
  1. Select an existing project by clicking Select a project on the top right or create a new project with New Project.
  1. Give your project a name and organization and click Create.

B. Set up Billing

  1. Type Billing accounts in the search bar and navigate to the relevant section.
  2. If you have already created a billing account, you can skip this step.
  1. Create a new billing account with the Add billing account button.
  2. Complete the process by adding your credit card information.
  3. Go to Billing accounts again to link this account to your project.
  1. Link a billing account → select your account → Set Account.

C. Activating Vertex AI API

  1. Type “Vertex AI” in the top search bar.
  2. Enter the Vertex AI API page.
  1. Activate the service by clicking the Enable button.

D. Creating a Service Account

  1. Go to Service accounts in the search bar.
  1. Click on the Create Service Account button.
  2. Fill in the information from the first step and proceed.
  1. In the Select a Role section, select the role “Vertex AI User”.
  1. Click on the three dots to the right of the account you created → Manage Keys.
  1. Add KeyCreate new key → Select JSON format and click Create.
  1. Save the resulting JSON file in a safe place.

Uploading JSON File to Kuika Platform

  1. In the AI Settings section, select Gemini from the drop-down menu.
  2. Click on the ADD NEW button.
  3. In the window that opens
    • Name: Configuration name
    • Service Account JSON: Load the JSON file you downloaded earlier with the CHOOSE button.
  4. Save the settings.

4. Test Settings

  1. Click on the three dots next to the Preview button at the top of the application.
  2. Click the RUN button from the menu that opens.
  3. Test that the AI integrations are working and returning accurate results.