Skip to content

Chapter 2: Prepare the credentials

Before building the flow, NappAI needs permission to get into your services. That permission is stored in a credential. You’ll create three. See Credentials for the full explanation.

They are all created the same way:

  1. In the side menu, under Configuration, click Credentials.
  2. Click Add Credential (or Create Credential if you don’t have any yet).
  3. Search for the service by name and click Add Credential on its row.
  4. Type the Credential Name and complete the details it asks for.

1. Gmail

  1. Search for Google Gmail.
  2. Give it a name you’ll recognise, for example Personal Gmail.
  3. In Select Project, leave NappAI.
  4. For the type of access, choose Read Only. The assistant will only read emails.
  5. Click Sign in with Google, sign in with your account and accept the permissions.

When you’re back in NappAI, the credential appears in the list.

2. Google Calendar

  1. Search for Google Calendar.
  2. Give it a name, for example Personal calendar.
  3. In Select Project, leave NappAI.
  4. In Google Calendar access, choose Read Only. If you later want the assistant to create or delete events, you’ll need Create, Update, Delete, Read.
  5. Click Sign in with Google, sign in with your account and accept the permissions.

3. Gemini

  1. Get your key in Google AI Studio.
  2. In NappAI, search for Google Gemini.
  3. Give it a name, for example Gemini.
  4. Paste the key into Google Api Key.
  5. Click Add.

With the three credentials ready, you can build the flow.