# How to set up AI-translation

To use the AI Assistant, go to "Settings", Locate "AI Assistant", and click "Translation".

The following screen will then be displayed:

<figure><img src="/files/qnXxG2X4uS0JqKa49w2L" alt=""><figcaption><p>First impressions of AI assistant translation settings.</p></figcaption></figure>

Turn on the "Enable translation assistant" switch. Then select your translation engine; currently, we support "Azure Translator". Enter your "Subscription key" and "Region name" in the provided fields.

Once all fields are completed, the screen should look similar to this:

<figure><img src="/files/zxzvklxGgQLJ9KCdqIlv" alt=""><figcaption><p>Example of a correctly set up AI Assistant settings.</p></figcaption></figure>


---

# 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.struct.com/tutorials/guides/how-to-use-ai-translate/how-to-set-up-ai-translation.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.
