Skip to content

Google Cloud Authentication Setup

Mack edited this page Sep 20, 2023 · 4 revisions

Setting up to test a GCP API

For working with the precision-feedback-pipeline API, continue reading.

  1. Contact the developers to get access to the client secret details (service account and target audience)
  2. Create your service account file in a text editor
    • Make sure to save it as a .json file, with the proper encoding
    • Copy the file as a path with right click, or any way you like.
  3. Set your SAPATH environmental variable
    • Use the guidance in the above section on setting env vars if you get confused
    • Set SAPATH to "path\to\service_acccount_details.json"
  4. Set your TARGET_AUDIENCE environmental variable
    • Using the target audience string you recieved by asking for it from someone who knows it, set the env var TARGET_AUDIENCE to "target audience string details"

Clone this wiki locally