

# Setting up AI Assistant for OpenSearch Service
<a name="AI-Assistant-setting-up"></a>

Complete the following steps to set up AI Assistant for OpenSearch Service.

1. Verify that you have configured OpenSearch Service fine-grained access control. For more information, see [Fine-grained access control in Amazon OpenSearch Service](fgac.md).

1. Verify that your data source is on OpenSearch version 2.17 or later.

1. Verify that you selected the **Enable natural language query generation** checkbox in the **Artificial Intelligence (AI) and Machine Learning (ML)** section during domain creation or by editing the cluster configuration.

**Note**  
Amazon Q for Developer OpenSearch features are available with the Q free tier. For more information, see [Understanding tiers of service](https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/q-tiers.html) in *Amazon Q User Guide*.