---
title: "AWS Textract"
description: "Optimize OCR with AWS Textract: Analyze characters in binary payloads efficiently using Amazon Web Services. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/services/ocr/providers/aws-textract"
---

# AWS Textract

Handles the Optical Character Recognition detection and analysis of characters in a binary payload using the Amazon Web Services Textract Service.

The AWS Textract Service is described by:

```
accessKey
secretKey
region
bucketName
```

Where the `accessKey` and `secretKey` are used to identify an IAM principal who has sufficient authority to invoke AWS Textract within the given `region`. In addition, the IAM principal needs sufficient authorities to read, write and delete an S3 object from the given S3 bucket (identified by `bucketName`) within the same region.

## Configuration

```
{
    "accessKey": "{accessKey}",
    "secretKey": "{secretKey}",
    "region": "{region}",
    "bucketName": "{bucketName}"
}
```

## Example

```
{
    "accessKey": "AKIAZZZZZZZZZZZZZZZZ",
    "secretKey": "PlrNZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",
    "region": "us-east-1",
    "bucketName": "ocr-temporary-bucket"
}
```
