

# Amazon Q in AWS Supply Chain
Amazon Q in AWS Supply Chain

**Note**  
**Powered by Amazon Bedrock:** AWS implements [automated abuse detection](https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html). Because Amazon Q in AWS Supply Chain is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).

Amazon Q in AWS Supply Chain is an interactive generative artificial intelligence (GenAI) assistant that helps you operate your supply chain more efficiently by analyzing the data in your AWS Supply Chain Data Lake, providing important operational and financial insights, and answering immediate supply chain questions. For example, you can ask Amazon Q in AWS Supply Chain, "What is my demand forecast over the next two weeks for Apples in Austin?" and you will get an accurate answer within seconds.

**Topics**
+ [

# Enabling Amazon Q in AWS Supply Chain
](enabling_QinASC.md)
+ [

# Creating and assigning custom user roles to access Amazon Q in AWS Supply Chain
](setting_custom_roles.md)
+ [

# Using Amazon Q in AWS Supply Chain
](using_QinASC.md)
+ [

# Sample questions you can ask Amazon Q in AWS Supply Chain
](sample_questions.md)
+ [

# Cross-Region calls with Amazon Q in AWS Supply Chain
](cross_region_calls.md)

# Enabling Amazon Q in AWS Supply Chain


**Note**  
Only an AWS Supply Chain administrator can enable Amazon Q in AWS Supply Chain.

To enable Amazon Q in AWS Supply Chain, perform the following procedure:

1. In the left navigation pane on the AWS Supply Chain dashboard, choose the **Settings** icon.

1. Under **Organization**, choose **Organization Profile**.

   The **Organization Profile** page appears.  
![\[Amazon Q in AWS Supply Chain\]](http://docs.aws.amazon.com/aws-supply-chain/latest/userguide/images/QinASC.png)

1. Under **Enable access for Amazon Q...**, slide the **Amazon Q in AWS Supply Chain** button to enable Amazon Q in AWS Supply Chain and ask questions regarding your supply chain.

1. Choose **Save**.

   The **Confirm Amazon Q in AWS Supply Chain access** window appears.

1. Choose **Acknowledge**.

   The Amazon Q dialog window should automatically appear on the right side of the page. You can hide or unhide the page by choosing the Amazon Q icon.

## Prerequisites for existing AWS Supply Chain users


**Note**  
If your AWS Supply Chain instance was created before the Amazon Q in AWS Supply Chain release, you will need to follow the procedure below to update the instance permissions. 

To update the instance role in the IAM console, perform the following steps:

1. Make sure all the permissions listed under [KMS policy](https://docs.aws.amazon.com/aws-supply-chain/latest/adminguide/creating-instance.html) are added to the KMS key policy used in the AWS Supply Chain instance.

1. In the IAM console, find the instance role with the AWS Supply Chain *InstanceId*. You can find the AWS Supply Chain *InstanceId* in the AWS Supply Chain console. 

1. Attach the following policy as an inline policy to the role. 

------
#### [ JSON ]

****  

   ```
   
   
   ```

------

   Replace the **kmsKeyArn** with the actual AWS KMS Key Arn used in the AWS Supply Chain instance.

# Creating and assigning custom user roles to access Amazon Q in AWS Supply Chain


To create and assign custom user roles in AWS Supply Chain, perform the following procedure:

**Note**  
If you are an AWS Supply Chain administrator or have a custom user role with administrator privileges, you can access Amazon Q across all datasets without any additional permission requirements after Amazon Q is enabled on your account. This section is only applicable if you want to grant Amazon Q access permissions to non-administrator users.

1. In the left navigation pane on the AWS Supply Chain dashboard, choose the **Settings** icon.

1. Under **Users and Permissions**, choose **Permission Roles**.

   The **Permission Roles** page appears.

1. Choose **Create New Role**.

   The **Manage Permission Role** page appears.

1. Under **Role Name**, enter a name for the role.

1. Choose the module or administrator access for the permission role you are creating.
**Note**  
You must choose an administrator role or AWS Supply Chain module to enable Amazon Q in AWS Supply Chain. Amazon Q in AWS Supply Chain cannot be enabled independently.

1. Slide the **Amazon Q in AWS Supply Chain** button to create a user role to view and interact with **Amazon Q** in the **AWS Supply Chain** web application.

1. Under **Additional Data Permissions**, view the datasets that are automatically listed as per the user role you selected.

1. Choose **Save**.

# Updating existing custom user roles to access Amazon Q in AWS Supply Chain


To update an existing user permission role in AWS Supply Chain, perform the following procedure:

1. In the left navigation pane on the AWS Supply Chain dashboard, choose the **Settings** icon.

1. Under **Users and Permissions**, choose **Permission Roles**.

   The **Permission Roles** page appears.

1. Under **Role**, select the role for which you would want to add the Amazon Q in AWS Supply Chain permission role and choose the **Edit** icon.

   The **Manage Permission Role** page appears.

1. Slide the **Amazon Q in AWS Supply Chain** button to add Amazon Q in AWS Supply Chain permission role.

1. Choose **Save**.

# Using Amazon Q in AWS Supply Chain


After enabling Amazon Q in AWS Supply Chain, perform the following procedure:

1. On the AWS Supply Chain dashboard, choose the **Amazon Q** icon.

   The Amazon Q dialog window should automatically appear on the right side of the page. You can hide or unhide the page by choosing the Amazon Q icon.  
![\[Using Amazon Q in AWS Supply Chain\]](http://docs.aws.amazon.com/aws-supply-chain/latest/userguide/images/QinASCdashboard.png)

1. Choose a question from the list of sample questions displayed.  
![\[Sample Amazon Q questions you can ask in AWS Supply Chain\]](http://docs.aws.amazon.com/aws-supply-chain/latest/userguide/images/Q_questions.png)

   You can ask any questions regarding AWS Supply Chain from anywhere in the web application. Amazon Q in AWS Supply Chain will customize your answers using the context from the page you are in to provide more accurate responses. You can start with the default prompted questions or ask your own question. 

# Sample questions you can ask Amazon Q in AWS Supply Chain




[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/aws-supply-chain/latest/userguide/sample_questions.html)

# Cross-Region calls with Amazon Q in AWS Supply Chain


Amazon Q in AWS Supply Chain has a dependency on Amazon Kendra for retrieving relevant search results from public documentation that may be used to answer your questions. Amazon Kendra is available in a subset of AWS Regions that Amazon Q in AWS Supply Chain supports. Amazon Q in AWS Supply Chain calls Amazon Kendra local endpoints when Amazon Kendra is available locally in an AWS Region. When Amazon Kendra is not available locally, Amazon Q in AWS Supply Chain calls Amazon Kendra’s endpoints in a different AWS Region. In these cross-region calls, Amazon Q in AWS Supply Chain may send your prompts to Amazon Kendra.


| Amazon Q in AWS Supply Chain Region | Amazon Kendra Region | Region Code | Region Name | Region Code | Region Name | 
| --- | --- | --- | --- | --- | --- | 
| eu-central-1 | Europe (Frankfurt) | eu-west-1 | Europe (Ireland) | 