Authentication for the Document AI

First off, please be kind, as I’m not a developer and may struggle with some basics concepts.

I’m trying to build a AI Invoice reader to collect invoice data in a spreadsheet, using Integromat / make.com (no-code platform) and Google Cloud Services.
Usually, there are integrations for what I need in Integromat or I use simple REST calls.

With the Document AI, afaik I have to use OAuth. I have my “processor” and the

Client ID and Client secret for Integromat. What I’m now missing are:

  • Authorize URI
  • Token URI

I’ve been searching the Google Cloud documentation for a while, but for a non-dev it’s quite confusing. Where can I find the two URLs needed?

Thank you very much for your help! :smiley:

You can see this post[1] you can see here how they get the environment endpoint that I think that what you mean by Authorize URI also here is a step on how to get the Access Token (Token URI) additionally the step to get the access token is here in the documentation[2] you have to use the Cloud SDK and use the following command:

  • gcloud auth application-default print-access-token

[1]https://clincher.medium.com/create-a-document-ai-service-rest-api-processor-in-google-cloud-2710f58348d4

[2]https://cloud.google.com/document-ai/docs/setup#auth-test