Source: https://nishanth-fern-test.docs-staging.pageloop.ai/desktop/onedrive-integration-process

# OneDrive Integration Process

Integrate OneDrive with Whatfix to fetch articles from your OneDrive Repository and display them as contextual links in the Self Help widget.

> [!WARNING]
>
> To enable OneDrive integration, the **OneDrive Authorization code** must be handed over to a Whatfix representative.

Use the following steps to generate the OneDrive Authorization code:

**Admin Account**

1. On the Whatfix Guidance dashboard, click **Settings**. ![ia\_left\_nav\_settings](/images/b8/ia_left_nav_settings-b868cdaa.png)

2. Click **Repositories**. ![ia\_left nav\_repositories ](/images/14/ia_left-nav_repositories-14d86191.png)

3. Click the **OneDrive** tile. ![RB\_DB\_CAggclickOnedrive](/images/01/RB_DB_CAggclickOnedrive-013adde4.png)

4. Enter a title, your OneDrive URL, and then click **Next**. ![RB\_DB\_repoODrive.png](/images/01/RB_DB_repoODrive-1-01f9d7db.png)

5. Choose if you want the Repository content to be accessed by anyone with the link or only internal employees with the link, and then click **Next**. ![RB\_DB\_repo\_odrive.png](/images/86/RB_DB_repo_odrive-1-86ab439d.png)

6. Choose if you want to fetch content from the whole Repository or a specific folder, and then click **Integrate**. ![RB\_DB\_Reposelectcontent.png](/images/7b/RB_DB_Reposelectcontent-2-7bc17c7d.png)

7. Log in to your Microsoft account.

8. Once logged in, on the pop-up that appears, click **Accept**. ![microsoft\_onedrive\_accept](/images/2e/microsoft_onedrive_accept-2e96ff2d.png)

**Non-Admin Account**

1. On the Whatfix Guidance dashboard, click **Settings**. ![ia\_left\_nav\_settings](/images/b8/ia_left_nav_settings-b868cdaa.png)

2. Click **Repositories**. ![ia\_left nav\_repositories ](/images/14/ia_left-nav_repositories-14d86191.png)

3. Click the **OneDrive** tile. ![RB\_DB\_CAggclickOnedrive](/images/01/RB_DB_CAggclickOnedrive-013adde4.png)

4. Enter a title, Repository URL, and then click **Next**. ![RB\_DB\_repoODrive.png](/images/95/RB_DB_repoODrive-2-959061ab.png)

5. Choose if you want the Repository content to be accessed by anyone with the link or only internal employees with the link, and then click **Next**. ![RB\_DB\_repo\_odrive.png](/images/31/RB_DB_repo_odrive-2-316f596a.png)

6. Choose if you want to fetch content from the whole Repository or a specific folder, and then click **Integrate**. ![RB\_DB\_Reposelectcontent.png](/images/41/RB_DB_Reposelectcontent-3-41af38c8.png)

7. Since the login credentials used are for a non-admin account, click **Request approval** on the pop-up. ![microsoft\_onedrive\_approval](/images/ad/microsoft_onedrive_approval-ade74673.png)

> [!WARNING]
>
> - Once the request is sent, the following pop-up is displayed. ![onedrive\_request\_sent](/images/b7/onedrive_request_sent-b70eeffc.png)
> - Ensure that the admin of the Microsoft account has provided you with access to the OneDrive app.
> - Once the access is provided, the integration is saved as **Draft**.

1. Go to the Repository draft, and then click the **More** icon.
2. Click the **Edit** icon, and then follow steps 1 to 5 to integrate the Repository.
