1. Go to the Google Developer Console.
  2. In the projects list, select a project or create a new one.
  3. In the Search field, enter Google Workspace.
  4. On the left navigation pane, click Credentials.
  5. Under OAuth 2.0 Client IDs, click the appropriate application.
  6. In the OAuth client window, copy the client ID and client secret to a secure location.

    You can always access the client ID and client secret from the Credentials page later if needed.