Authenticating with GCP to use Document AI API

CharlieSpackman
CharlieSpackman Partner, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1 Partner

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

Answers

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,024 Neuron

    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

Setup Info
    Tags
      Help me…