Skip to content

Setting up google.json

SoftDiamond edited this page Nov 4, 2023 · 1 revision

The Google Cloud API is what allows the bot to "talk" its responses out loud.

  1. Navigate to https://cloud.google.com/?authuser=1&hl=en
  2. Search for Text To Speech in the search bar, and under Marketplace, click Cloud Text-to-Speech API.
  3. Once enabled, click Service Accounts under IAM & Admin (Which may be under More Products on the menu on the left).
  4. If required, create a new project or enter the project you want to use.
  5. Go to Manage Keys in the Action "hamburger" menu. setup1
  6. On the Keys page that you clicked on, create a new key. It will ask for a file type, select JSON and hit create.
  7. Name it (case-sensitive) google.json and place it in the root folder of your project.
Clone this wiki locally