---
title: Configuring the API key
description: Obtain the API key for your Google project and configure it in the google_pubsub_apikey option. Obfuscate the API key for it to take effect. For more information on obfuscating keys and password, see Obfuscating keys and passwords.
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_configuring_api_key
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_configuring_api_key.html
revdate: May 6, 2024
section_ids:
  before-you-begin: Before you begin
  about-this-task: About this task
  steps: Steps
---

# Configuring the API key

## Before you begin

Obtain the API key for your Google project and configure it in the `google_pubsub_apikey` option. Obfuscate the API key for it to take effect. For more information on obfuscating keys and password, see [Obfuscating keys and passwords](pingintelligence_obfuscating_keys_and_passwords.html).

## About this task

You can optionally configure the API key in the `ase.conf` file.

## Steps

1. Stop ASE.

   For more information, see [Stopping ASE](pingintelligence_stopping_ase.html).

2. Edit the `ase.conf` file to add the API key.

3. Obfuscate the API key.

4. Start ASE.

   For more information, see [Starting ASE](pingintelligence_starting_ase.html).
