> For AI agents: [llms.txt](https://docs.trustedauth.com/llms.txt) provides a Markdown index of this documentation.

# Amazon Business

Amazon Business is a purchasing solution for small businesses. You can configure your Amazon Business account for Single Sign-On (SSO) through Identity as a Service.

note

This procedure was tested using previous versions of Identity as a Service 5.34 and Amazon Business version 28.9.0.451. Other versions of Amazon Business may require integration and configuration steps that differ from those documented in this procedure. For newer versions of Amazon Business, use this procedure as a starting point for integrating Amazon Business. In the event of other issues, contact <support@entrust.com> for assistance.

Before you begin, open two browser windows. In one window, log in to your Amazon Business administrator account. In the other window, log in to your IDaaS administrator account.

To integrate Amazon Business with Identity as a Service, you must do the following

## Step 1: Copy the SAML configurations from Identity as a Service

1. Log into your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications Lists** page appears.
3. Under **SAML Cloud Integrations**, click **SAML Configuration**. The **SAML Configuration** dialog box appears.
4. This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.
5. Do one of the following:
   - Leave this dialog box open to reference later in this procedure.
   - Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.

note

Depending on the integration you are performing, you may not need all three of these SAML configuration values.

## Step 2: Copy the SAML signing certificate from Identity as a Service

1. Log in to your Identity as a Service administrator account.
2. Click Menu icon **>** **Security > Applications**. The **Applications List** page appears.
3. Under **SAML Cloud Integrations**, click **SAML Signing Certificates**. The **SAML Signing Certificates** page appears.
4. Click **Copy** next to the certificate to copy it to the clipboard.
5. You can additionally download the certificate and save it for future use.
6. Open a text editor, such as Notepad, and paste the contents of the certificate into the text file.
7. Save the file.

note

Be sure to same the file with the .cer extension, for example, SAML_certifcate.cer.

## Step 3: Configure Amazon Business for Identity as a Service authentication

1. Log in to your Amazon business. The **Set up SSO** page appears.
2. In the **Enter your identity provider** field, select the account your account from the drop-down list. For example, idaas-idp.
3. Set the **Encrypted SAML assertions** to **Off**.
4. Click **Submit**. The **Account Settings** options appears. You are returned to the **Set up SSO** page.
5. Click **Next**. The **New user accounts defaults** page appears.
6. Select your **default Group** from the drop-down list.
7. Select **Punchout user**.
8. Click **Next**. The **Upload your metadata file** page appears.
9. Click **Add Manually**. The **Connection data** page appears.
10. In the **Entity ID** field, enter the **Entity ID** you copied in _Step 1: Copy the SAML configurations from Identity as a Service._
11. In the **Issuer URL** field, enter the **Entity ID** you copied in _Step 1: Copy the SAML configurations from Identity as a Service._
12. In the **HTTP- Redirect** field, enter the **Single Sign-In URL** that you copied from _Step 1: Copy the SAML configurations from Identity as a Service_.
13. In the **HTTP-Post** field, enter the **Single Sign-In URL** that you copied from _Step 1: Copy the SAML configurations from Identity as a Service_.
14. In the **Public Certificate** field, paste the certificate you copied in _Step 2: Copy the SAML signing certificate from Identity as a Service_.
15. Click **Next**. The **Attribute Mapping** page appears.
16. In the **Attribute Mapping** page, under the **Amazon data**, do the following:
    1. Select the **Unique ID** Amazon data attribute and set the **SAMLAttributeName** to EmailID.
    2. Select the **Email** Amazon data attribute and set the **SAMLAttributeName** to EmailID.
    3. Select the **Full Name** Amazon data attribute and set the **SAMLAttributeName** to Full name.
17. Click **Next**. The **Amazon Connection Data** page appears.
18. Select to **Download** the **Metadata XML file**. You need this file for _Step 4: Add Amazon Business to Identity as a Service_.
19. Leave this page open to test the integration after completing the integration.

## Step 4: Add Amazon Business to Identity as a Service

1. In Identity as a Service, click Menu icon **>** **Security > Applications**. The **Applications Lists** page appears.
2. Click **Add**. The **Select an Application Template** page appears.
3. Do one of the following:
   - Select **SAML Cloud Integrations** from the search drop-down list and scroll to find the application you want to add to IDaaS.
   - In the **Search bar**, enter a search option to filter for the application you want to add to IDaaS.
4. Click **Amazon Business**. The **Add Amazon Business** page appears.
5. Enter an **Application Name**.
6. Enter an **Application Description**.
7. Optional. Add a custom application logo.
   1. Click Plus icon next to **Application Logo**. The **Upload Logo** dialog box appears.
   2. Click Upload icon to select an image file to upload.
   3. Browse to select your file and click **Open**. The **Upload Logo** dialog box reappears showing your selected image.
   4. If required, resize your image.
   5. Click **OK**.
8. Select the **Authentication Flow** that appears to users during login.
9. Click **Next**. The **General** page appears.
10. Click **Upload Metadata XML** and navigate to upload the metadata file you downloaded in _Step 3: Configure Amazon Business for Identity as a Service authentication._
11. Enter the **Max Authentication Age (seconds)** to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
12. Leave the **Single Logout Service URL** field empty.
13. Enter the **SAML Session Timeout** to the time when the SAML Assertion times out. The maximum is 720 minutes.
14. From the **SAML NameID Attribute** drop-down list, select **Email**.
15. From the **SAML NameID Encoding Format** drop-down list, select **Email**.
16. From the **SAML Signing Certificate** from the drop-down list, select the SAML Signing Certificate you added to Amazon Business in _Step 3: Configure Amazon Business for Identity as a Service authentication_.
17. Optional: Select **Respond Immediately for Unsuccessful Responses** to return to the application immediately after a login failure, rather than allow user to try again with a different userID.
18. Deselect **Enable Go Back Button** if you do not want users to be able to go back to the Amazon Business login page to log in.
19. Select **Show Default Assertion Consumer URL Service in the My Profile**. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
20. Add **SAML attributes** as follows (you need to add two attributes):
    1. Add the **First Name** attribute, as follows:
       1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.
       2. In the **Name** field enter **Fullname**.
       3. Click **Add** next to **Value(s)**.
       4. In the **Values** field, type `<` and select **First Name**.
       5. Click **Add**.
    2. Add the **Last Name** attribute, as follows:
       1. Under **SAML Attributes**, click **Add**. The **SAML Attributes** dialog box appears.
       2. In the **Name** field enter **EmailID**.
       3. Click **Add** next to **Value(s)**.
       4. In the **Values** field, type `<` and select **Email**.
       5. Click **Add**.
21. Leave the remaining settings at the default values.
22. Click **Submit**.
23. Return to the **Download** the **Metadata XML file** page that you left option in _Step 3: Configure Amazon Business for Identity as a Service authentication_ and click **Start Testing**.

## Step 5: Add a resource rule

See [Create resource rules](/docs/authentication-and-security/create-and-manage-resource-rules.md).

## Step 6: Test the integration

### Testing Service Provider Login

1. Open a Web browser and enter the URL for your Amazon Business account.
2. Click **Login**. You are redirected to the Amazon Business login page.
3. Enter the Amazon Business account email address. If single sign-on is enabled, the password is hidden.
4. Click **Continue**.
5. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to Amazon Business.

### Testing Identity as a Service redirect log in

1. Log in to your Identity as a Service account.
2. Go to your **My Profile** page if you are not already there.
3. Under **Applications**, click **Amazon Business**.
4. Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to Amazon Business.
