Skip to content

This repository is for Automatic Document processing in Google Cloud Platform

License

Notifications You must be signed in to change notification settings

vikramshinde12/document-ai-in-gcp

Repository files navigation

The Document AI in Google Cloud Platform

Following components are used

  • Document AI
  • Pub/Sub
  • Cloud Function
  • Cloud Firestore
  • Cloud Storage
  • Cloud Run

Architecture

Create Service Account

  1. Create Service Account
  2. Assign the Editor Role.
  3. Download the key and renamed it as terraform-key.json

Create Config data in Firestore

  1. Go to Firestore
  2. Select Native Mode
  3. Select a Location (e.g. United States)
  4. Click on "Create Database"

Create Infrastructure using Terraform

  1. Create Project
  2. Create SA, Assign the roles: Editor and download key as terraform.json
  3. export GOOGLE_CLOUD_KEYFILE_JSON=terraform-key.json
  4. copy the terrform.tfvars.example file to terraform.tfvars and replace the variables.
  5. terraform init
  6. terraform plan
  7. terraform apply

The complete detail about this repo is available in the please refer the blog

About

This repository is for Automatic Document processing in Google Cloud Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published