NextDevv's Docs Help

How to obtain the API key

The Perspective API is a powerful tool that can help you moderate chat messages on your server. To use the Perspective API with AutoMod, you will need to obtain an API key from the Perspective API website. Here's how you can get your API key:

Step by Step
  1. Create or Sign in to a Google Cloud Platform (GCP) account: To obtain an API key for the Perspective API, you will need to create or sign in to a Google Cloud Platform account. You can create a new account or use an existing one to access the Perspective API.

  1. Request access to the Perspective API: Once you have signed in to your GCP account, you can request access to the Perspective API by completing the form.

  1. Obtain your API key: After your request has been approved, you will receive an email with instructions on how to obtain your API key. Follow the instructions in the email to get your API key for the Perspective API.

  1. Configure AutoMod with your API key: Once you have obtained your API key, you can configure AutoMod to use it for chat moderation. Open the config.yml file located in the plugins/AutoMod folder and enter your API key in the perspectiveApiKey property.

By following these steps, you can obtain an API key for the Perspective API and configure it in AutoMod to enhance your chat moderation capabilities. If you encounter any issues or need further assistance, you can refer to the Perspective API documentation for more information.

Or you can open an issue on the AutoMod GitHub repository for support from the developer and the community.

Last modified: 03 July 2024