

# Tag resource

Amazon Textract resources like adapters and Amazon Textract Insights projects, blueprints, and jobs can be tagged using the [TagResource](https://docs.aws.amazon.com/textract/latest/APIReference/API_TagResource.html) operation. Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values. To tag a resource, use the `TagResource` operation and specify a list of tags as key-value pairs.

To tag a resource with the AWS CLI or AWS SDK:
+ If you haven't already done so, install and configure the AWS CLI and the AWS SDKs. For more information, see [Step 2: Set up the AWS CLI and AWS SDKs](setup-awscli-sdk.md).
+ Use the following code to tag a resource: 

------
#### [ CLI ]

```
aws textract tag-resource  --resource-arn arn:aws:textract:us-east-1:000000000000:/adapters/a1b2c3d4e5c6 --tags Tag=Key
```

------

To tag an Amazon Textract Insights project, blueprint, or job, use its ARN. For examples, see [Tagging Amazon Textract Insights resources](insights-tagging.md).