# Configuring Reverse Proxy with Link Replacement for Intranet 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 with link replacement for your intranet websites and web apps:

{% stepper %}
{% step %}

### Start the Access Profile Wizard

Click on the **New Profile** button in the home page. 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%2FGvWtyoxYIERRlpsS9vci%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20Step%201.png?alt=media&#x26;token=57035444-9276-49b6-a758-5c62f7b624b3" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Select the Application Type

Select **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%2FdB2GGCcbxZGcFQg2rd21%2F8.5_%5BPDT-815%5D_Wizard%20Web%20App%20Access%20Profile%20Select%20type.png?alt=media&#x26;token=e97a2b2b-d742-4fda-bb2e-33a69e873d24" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Set up the Web Application Gateway as Reverse Proxy with Link Replacement

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

<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%2FcnNpGY1ywl9Zh1X4cHpD%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Link%20replacement.png?alt=media&#x26;token=278c99af-b424-45c4-94bf-3e2b4d08c447" 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%2Fg9KZPgi78OStayT4PAtH%2F8.5_%5BPDT-815%5D_Wizard%20WAG%20Access%20Profile%20Permissions.png?alt=media&#x26;token=b1013340-0653-4afd-ae2a-0192e19c7614" 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).
{% 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%2FAEPrdZPfVk16ThqWbhx7%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Profile%20Name%201.png?alt=media&#x26;token=5a20fb50-abf8-4a0b-9ecb-1c35359e05c2" 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%2FU7pzjzQapQKQbGgyfW32%2F8.5_%5BPDT-826%5D_Wizard%20Applications%20WAG%20Profile%20Name.png?alt=media&#x26;token=b1036ab3-73ed-439e-a6ed-c718a693a69f" 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 %}
