# Configuration

Once you have successfully installed the extension, go to Stores -> Configuration to configure the extension for use.

<img src="https://magecomp.com/support/wp-content/uploads/2023/04/General-Configuration.png" alt="General Configuration" height="156" width="932">

* ChatGPT AI Content Generator – Enable or disable the extension form here.

<img src="https://magecomp.com/support/wp-content/uploads/2023/04/API-Configuration-2.png" alt="API Configuration" height="409" width="1082">

* **Base URL –** Enter the base URL for API.
* **API Key –** Enter the API Key generated from your OpenAI account.
* **Model –** Select the GPT model from the dropdown.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.magecomp.com/magento-2-chatgpt-ai-extension/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
