Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 910 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 910 Bytes

Google API usage in Hyperion

Hyperion can use Google API to run App Script and upload files to Google Drive.

Configuration

You need to configure a client id and secret in the dotenv:

GOOGLE_API_CLIENT_ID
GOOGLE_API_CLIENT_SECRET
  1. Go to https://console.cloud.google.com/projectcreate and create a new project
  2. Select the project and open API and Services
  3. Select "Library" and add the following libraries: a. Google Drive API b. Google Sheets API c. Apps Script API
  4. Go to Credentials. Select "Configure Consent Screen" a. User Type : Internal
  5. Go to Credentials. Select "Create credentials" then: a. OAuth client id b. Web Application c. Redirect uri: "https:///google-api/oauth2callback"