Before using the Textract connector, you must configure AWS resources and permissions that allow Studio Modeler to access Amazon Textract and Amazon S3 services.
The Textract connector uses Amazon Textract to extract text, forms, and tables from documents. Depending on the document size and processing method, Amazon S3 may be used to temporarily store documents during analysis. The AWS account, user, or role configured for the connector must have sufficient permissions to access these services.
The following are required:
| Requirements | Description |
|---|---|
| AWS Credentials |
The Textract connector authenticates using AWS credentials configured through the connector configuration parameters. To use the connector, create a dedicated AWS Identity and Access Management (IAM) user or role and configure the following credentials in the connector:
Using a dedicated IAM identity allows access permissions to be managed separately from other AWS applications and services. |
| IAM User Setup |
The IAM user or role used by the connector must have permission to access Amazon Textract services. The simplest approach is to assign the AWS managed policy AmazonTextractFullAccess and AmazonS3FullAccess. This policy grants access to Amazon Textract operations required by the connector, including text extraction and document analysis services. At a minimum, the following permissions are required:
Organizations with stricter security requirements can instead grant only the permissions required by the Textract features used by their processes. |
| Minimum Amazon S3 Permissions |
The AWS user or role configured for the Textract connector must have permission to access the S3 bucket used for document processing:
|
| S3 Bucket Configuration |
The Textract connector uses Amazon S3 to store and process documents during analysis. Create a dedicated S3 bucket in the same AWS region as your Textract usage (set in AWS_REGION). The bucket name is what you supply as AWS_S3_BUCKET |
| AWS Region Configuration |
Amazon Textract is a regional AWS service. The AWS region configured for the connector should:
Before deployment, verify that Amazon Textract is available in the selected region. |