Skip to content

Chapter 1: Objective and Preparation

Welcome to this advanced use case!

The Objective

We will build an E-commerce customer service system that classifies user inquiries into three levels and directs them to a specialized agent for resolution.

Step 1: Prepare the Credentials

Before building, we need to grant NappAI permission to access external services. Go to the Credentials section of the main NappAI panel and create the following:

  • Google API Credential:
    • Type: Google API.
    • Name: My Gemini Credential.
    • Google API Key: Paste your Google Generative AI key.
  • Google Drive Credential:
    • Type: Google Internal App (or the corresponding type for Drive).
    • Name: My Drive Credential.
    • Permissions: Make sure to grant Read permissions.
  • API Request Credential (if necessary):
    • If the Level 2 Agent requires authentication for your e-commerce API, create a Generic or API Key type credential here.
  • Telegram Credential:
    • Type: Telegram Bot API.
    • Name: My Telegram Bot Credential.
    • Bot Token: Paste your Telegram bot token.

With the authorizations ready, in the next chapter we will build the knowledge base for our system.