Create DialogFlow credentials

How to create DialogFlow credentials for your chatbot

To integrate your chatbot with various services or platforms, you need to create credentials in DialogFlow. This process will allow you to authenticate and manage your chatbot's access securely. Follow the steps below to create these credentials.

Steps to create credentials

  1. Access DialogFlow:

    • Open an incognito browser window.

    • Visit DialogFlow and sign in with the email and password of the agent you wish to manage.

  2. Agent configuration:

    • In DialogFlow's interface, go to the settings gear (⚙️) next to the agent's name.

    • In the "General" tab, click on the link next to the project ID to go to Google Cloud Platform.

  3. IAM administration:

    • On Google Cloud Platform, select "IAM & Admin" from the left-hand navigation menu.

    • Click on "Service accounts".

  4. Create a service sccount:

    • Press the "Create Service Account" button.

    • Fill in the required details:

      • Service account name: Assign a name that clearly identifies the purpose of the account.

      • Description: Provide a brief description for future reference.

  5. Role assignment:

    • In the search field, type "Dialogflow" and select the appropriate roles you need to assign to your service account, in this case, "DialogFlow API Administrator".

  6. Key creation:

    • Go to the "Keys" section of the service account you just created.

    • Choose "Add Key", then "Create new key" by selecting the "JSON" format.

    • Click "Create", and a JSON file will automatically download to your computer containing the necessary credentials for your bot.

Important

  • Store the JSON file in a secure location, as it contains essential information for your chatbot's authentication.

  • Do not share this file or expose it in public repositories, as it could compromise the security of your application.

With these credentials, your chatbot will be ready to interact securely with services that require authentication through DialogFlow.

Last updated