# Extension + OneLogin Integration Guide

### What You'll Need to do

There are two main steps you’ll need to follow to complete the deployment. Total time is usually under 30 minutes.

* Install the Twosense browser extension into Chrome or Edge for all users that will be utilizing Twosense as a factor.
* Configure Twosense as a factor in OneLogin and apply the policy to users.

***

### Prerequisites

* A OneLogin organization. If you don't already have one, you can get a free account at <https://www.onelogin.com/free-trial>
* An account or active trial with Twosense. Please contact us [here](https://www.twosense.ai/demo) to obtain a 30-day trial if you don’t have one already.
* The **Hostname**, **Port Number**, and **Shared Secret** provided by your Twosense account manager.

***

### Step-by-step

Add Twosense as a RADIUS factor:

1. Click “**New Auth Factor**” in the upper right corner\
   ![OneLogin1](https://www.twosense.ai/hs-fs/hubfs/OneLogin1.png?width=1853\&name=OneLogin1.png)
2. Select "**RADIUS**" as the new factor type:\
   ![OneLogin2](https://www.twosense.ai/hs-fs/hubfs/OneLogin2.png?width=1858\&name=OneLogin2.png)
3. Under "User Description" name the new factor **TWOSENSE**.\
   Note: this value must be exactly "TWOSENSE" for the integration to function properly.\
   ![OneLogin3](https://www.twosense.ai/hs-fs/hubfs/OneLogin3.png?width=1861\&name=OneLogin3.png)
4. Use the **Hostname**, **Port Number**, and **Shared Secret** provided by Twosense for this step.\
   ![OneLogin4](https://www.twosense.ai/hs-fs/hubfs/OneLogin4.png?width=1857\&name=OneLogin4.png)
5. Navigate to **Security > Policies**, select the policy you want to add Twosense to, and enable it as an OTP Auth factor:\
   ![OneLogin5](https://www.twosense.ai/hs-fs/hubfs/OneLogin5.png?width=1855\&name=OneLogin5.png)
6. Ensure that the policy is applied to “All users” of this policy, not “Administrator Only.”\
   ![OneLogin6](https://www.twosense.ai/hs-fs/hubfs/OneLogin6.png?width=1854\&name=OneLogin6.png)
7. **Save** the changes made to the policy.

{% hint style="info" %}
**NOTE**: Users never need to manually choose the TWOSENSE factor. If a user has the Twosense browser extension installed and belongs to a Policy with Twosense as a factor, each time they pass an MFA check the Twosense factor will automatically be prioritized for their next authentication.
{% endhint %}
