Authenticating with GCP to use Document AI API

CharlieSpackman
Level 1
Authenticating with GCP to use Document AI API

Hi all,

 

I am trying to use the GCP Document AI service within my Dataiku flow. I have a batch of images I would like to process using the GCP API via a Python code recipe. Within GCP I have created the necessary services and enabled the API for use. My Dataiku instance is a cloud deployment on AWS.

 

I have not been able to find a way to authenticate with GCP. I have tried to use Service Account API keys, enabling Oauth 2.0 and Application Default Credentials; none have enabled me to call the API successfully. 

 

Has anyone been able to authenticate with GCP on a cloud instance of Dataiku? 

 

Thanks,

Charlie

0 Kudos
1 Reply
Turribeach

Hi, can you be more specific and show us your code and the error you get? Are you on Dataiku Cloud AWS instance or your own AWS instance? Thanks

0 Kudos