# Configuring Reverse Proxy for Websites and Web Apps

With **Thinfinity Workspace**, intranet websites and web apps can be published by creating Application Access Profiles. These allow users to securely access intranet websites and web apps from their preferred browser.

To configure a reverse proxy for your intranet websites and web apps:

{% stepper %}
{% step %}

### Start the Access Profile Creation Wizard

Click on the **New Profile** button in the home page or alternatively, click the **+Add**  button from the [**Access Profiles** tab](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-web-manager/settings/configuration/access-profiles) of the **Settings** menu.&#x20;
{% endstep %}

{% step %}

### Select the Access Profile Type

Select **Application** and click **Next**.

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2FyyHAyogXie52voPdcFCV%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20Step%201.png?alt=media&#x26;token=a4383943-fa10-4f6e-9bee-7ac64dc818f1" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Choose the Application Type

Select the **WebApp** type for the application connection, then click **Next.**

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2F8djLki70UM0DbCXmUGXh%2F8.5_%5BPDT-815%5D_Wizard%20Web%20App%20Access%20Profile%20Select%20type.png?alt=media&#x26;token=90049ebc-d47d-4aed-a464-66431e53ff0f" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Set up the Web Application Gateway as a Reverse Proxy

Fill in the URL of the Gateway, the start page of your intranet website or web app. From the **Mode** field select **Reverse Proxy**.

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2Faq5vyNOPDYjG2rYiGRqG%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Reverse%20Proxy.png?alt=media&#x26;token=77bc4897-4cc8-494e-8bb2-ed8940387099" alt="" width="375"><figcaption></figcaption></figure></div>

Next select the Agent, Agent Pool or the Broker ID (according to the current deployment configuration).
{% endstep %}

{% step %}

### Set Permissions

Use the available options to add the users who will have access to the new Access Profile.  Disable the **Allow Anonymous Access** option and use the **Add** button to select the users and/or groups. This step is optional, you can set the permissions at a later moment.

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2FcMUXl9YjmA1QC65iicMv%2F8.5_%5BPDT-815%5D_Wizard%20WAG%20Access%20Profile%20Permissions.png?alt=media&#x26;token=5783835a-abec-402e-bb6c-1e30405830d2" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
**Note**

**Find users and groups** link will only be available when working with [Directory Services](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-configuration-manager/all-in-one-configuration-manager/authentication-tab/directory-services-tab).
{% endhint %}

{% hint style="info" %}
**Reference**

For details on how to configure access permissions, see [Global Access Profiles Parameters](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-web-manager/settings/configuration/access-profiles/global-access-profiles-parameters), [Access Control Settings](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-web-manager/settings/configuration/access-profiles/access-control-settings-web-manager) and [Labels](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-web-manager/settings/configuration/access-profiles/labels). &#x20;
{% endhint %}
{% endstep %}

{% step %}

### Set the Access Profile Name

Enter a descriptive name for the new Access Profile then click **Done** to publish your intranet website or web app.

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2F7IfVdeEmhAqEGFp1TXum%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Profile%20Name%201.png?alt=media&#x26;token=5ba7f6be-6d93-4b4e-88ed-f3fa7cbfc5fe" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Configure the Access Profile

The wizard guides you through the essential settings required for the connection to the target resource. **Thinfinity Workspace** assigns default values for the rest of the parameters of the connection. To customize these parameters, access the **Settings** menu of the Access Profile.&#x20;

{% hint style="info" %}
**Reference**

For details, see [WAG Settings](https://thinfinity-workspace-v8-docs.cybelesoft.com/reference/thinfinity-workspace-web-manager/settings/configuration/access-profiles/application-access-profiles/web-app/web-application-gateway-wag).
{% endhint %}

<div data-with-frame="true"><figure><img src="https://3742065333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX0lzJZltf6hN8YNESjYa%2Fuploads%2FJ3OHKAmnutzeJh9uTilm%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Profile%20Added%20to%20the%20home%20page.png?alt=media&#x26;token=de1ec598-65a3-471b-86e2-232e3a5e74ca" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### **Commit the Changes**

Click **Commit** to apply the configured connection parameters.

* If you are defining only one profile, you can use **Commit** right after configuring all the desired parameters.
* If you are defining several profiles or complex profile configurations, use **Commit** after you have everything in place.
  {% endstep %}
  {% endstepper %}
