# Outlook Plugin

{% hint style="warning" %}
Please note that the email that is being replied to will be sent to the AI Agent to allow for context when responding to the email
{% endhint %}

To set up an internally deployed outlook plugin&#x20;

1. Contact AI Risk for your XML plugin file and provide your URL to your internally deployed environment. You will recieve the XML file within 2 business days
2. Login into your office 365 account and navigate to the admin console
3. On the left hand side click **Show All...** and then navigate to the **Settings>>Integrated App**![](/files/joqydwOqHXMiyWDM0xkw)
4. Click upload app and select **Office-Addin** follow the wizard to complete the process of assigning users&#x20;
5. Navigate back to your deployment of AI Risk and create a new OpenAI agent. Choose your model and Make sure it is not an agent. **Allow in Outlook Plugin.**&#x20;
6. Assign the agent to the users you wish to have access.


---

# 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.aicrisk.com/internal-deployment/outlook-plugin.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.
