# How to configure the Office 365 agent? ## Office 365 integration ### Prerequisites - You need to install the last version of JSON Rest Connector ### Configuration Configure the Basic data to establish the connection [![image-1658931279840.png](https://bookstack.soffid.com/uploads/images/gallery/2022-07/scaled-1680-/image-1658931279840.png)](https://bookstack.soffid.com/uploads/images/gallery/2022-07/image-1658931279840.png) Then, configure the attribute mappings [![image-1658932645128.png](https://bookstack.soffid.com/uploads/images/gallery/2022-07/scaled-1680-/image-1658932645128.png)](https://bookstack.soffid.com/uploads/images/gallery/2022-07/image-1658932645128.png)

Soffid provides you versions of the attribute mappings to import into the agent configuration:

- *Basic* attribute mappings: [agent-config-Office365-Basic.xml](https://bookstack.soffid.com/attachments/52) - Attribute mappings with *immutable ID and Azure groups*: [agent-config-Office365-MoreComplex.xml](https://bookstack.soffid.com/attachments/53)