You are here:
Create an External Credential and a Named Credential for Intelligent Form Reader
Create an external credential to authenticate the Amazon Web Services (AWS) account that you want to use for Intelligent Form Reader. Then create a named credential for the external credential.
| Available in: Lightning Experience |
| Available in: Financial Services Cloud, Health Cloud, and Public Sector Solutions |
| Intelligent Form Reader is available for an additional cost with the Intelligent Form Reader add-on license. |
- Log in to your org as an administrator, and then assign the Document Checklist and Intelligent Document Workspace User permission sets to the admin user.
-
Update Salesforce File Settings.
- From Setup, in the Quick Find box, enter Salesforce Files, and then select General Settings.
- Click Edit, and then select Display alternative file previews.
- Save your changes.
-
Create a document type.
- From Setup, in the Quick Find box, enter Document Type, and then select Document Type.
- Click New.
- Specify the label, name, and form type.
- Save your changes.
-
Create an External Credential for Amazon Web Services (AWS).
- From Setup, in the Quick Find box, enter Named Credentials, and then select Named Credentials.
- On the External Credential tab, select New.
- Specify these details and save your changes. Configure STS for Temporary Access, if required.
Field Description Label A user-friendly name for the named credential that’s shown in the Salesforce user interface. Name A unique identifier that’s used to refer to this external credential. Authentication Protocol Select AWS Signature Version 4. Service The name of an AWS service, such as textract. Region The AWS region for the named credential’s endpoint. For example, us-west-2. AWS Account ID The 12-digit number that uniquely identifies your AWS account. Use STS for Temporary Access To provide limited access, select the checkbox, and then specify the STS access key, access secret, external ID, and duration. See Create and Edit an AWS Signature v4 External Credential. -
Configure the principal for the external credential.
- Open the external credential that you created.
- In the Principals section, click New.
- Specify the parameter name, access key, access secret, and ARN.
- Save your changes.
You can’t modify the principal name of an existing principal. To change these parameters, delete the principal and recreate it. -
Create a Named Credential by using the external credential.
- From Setup, in the Quick Find box, enter Named Credentials, and then select Named Credentials.
- Click New.
-
Specify the label, name, and URL, and select the previously created external credential.
The format for the URL is https://www.aws.com. See Create and Edit a Named Credential.
- Save your changes.
When creating a named credential, make sure that you specify an Amazon Textract endpoint as the URL. For information about the Amazon Textract endpoints, see Amazon Textract endpoints and quotas - AWS General Reference. -
Create a permission set and provide access to the external credential.
- From Setup, in the Quick Find box, enter Permission sets, and then select Permission sets.
- Click New.
- Specify the label and name.
- Save your changes.
-
In the Apps section, click External Credential Principal Access,
and click Edit.
Permission sets with external credential principal access enabled can be packaged.
-
Click Edit.
The Edit page shows the available external credential principals, and the external credential principals that are currently enabled.
- Select one or more external credential principals.
- Save your changes.
-
Assign the new permission set to the Admin user.
- Select the permission set.
- Click Manage Assignments, and then select Add Assignments.
- Select the user that you want to assign the permission set to, and click Next.
- Click Assign.
-
Assign the permission set to the Autoproc user by using this Apex code in Workbench.
insert new PermissionSetAssignment( AssigneeId = [SELECT Id FROM User WHERE alias = 'autoproc'].Id, PermissionSetId = 'SELECT PermissionSet Id' );Note In Workbench, query the PermissionSet object to retrieve the ID and label. Copy the specific permission set ID and replace the 'SELECT PermissionSet Id' text in the execute text box with the copied ID before you run the code.

