# Preparing the Browser Proxy

Now that your console is fully operational, we are ready to take you through a basic example that illustrates how to use it. Our example will show you how to remove all advertising from Google search results.

Even though this example has limited real world practical use *(unless you wish to run it on your corporate internet gateway)*, it provides a basic case study that shows many fundamental features.

The first step in our example is to prepare the browser proxy so that all traffic to and from Google is successfully routed via the Composable Agentic Platform Proxy Server. This will give us visibility of the data and provide all of the information we need to manipulate it.

Many browsers have in-built security features to prevent user access to websites whenever there is an untrusted SSL certificate, and will block the incoming request without exception

In our example, because it is not possible to install Google’s SSL certificate to the Proxy Server, overcome this by using redirection settings within the **Proxy Server**. In **Administration**, **Server Definitions** click on the Proxy Server as follows.

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-9170c9822c6832d905f9a59ed3a607eac420cf0d%2Fimage.png?alt=media" alt=""><figcaption><p>Server Definitions folder</p></figcaption></figure>

Click on the **Forwarding** tab and set the **Request** redirection properties for Google as follows. Our example is for a UK IP address request, which follows the redirect of **Google.com** to **Google.co.uk** based upon the IP geolocation from the originating browser.

The first line entry is for example format use only and has no impact on the Proxy Server:

* [http://thishost>http://thishost:8001](https://docs.tomorrowx.com/cap/product-reference/quick-product-introduction/http:/thishost>http:/thishost:8001)
* [http://google.com>https://google.com](https://docs.tomorrowx.com/cap/product-reference/quick-product-introduction/http:/google.com>https:/google.com)
* [http://www.google.com>https://www.google.com](https://docs.tomorrowx.com/cap/product-reference/quick-product-introduction/http:/www.google.com>https:/www.google.com)
* [http://google.co.uk>https://google.co.uk](https://docs.tomorrowx.com/cap/product-reference/quick-product-introduction/http:/google.co.uk>https:/google.co.uk)
* [http://www.google.co.uk>https://www.google.co.uk](https://docs.tomorrowx.com/cap/product-reference/quick-product-introduction/http:/www.google.co.uk>https:/www.google.co.uk)

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-ab98efab5d8714d51f22116fe9dd94fc57b81501%2Fimage.png?alt=media" alt=""><figcaption><p>Proxy Server, Forwarding tab</p></figcaption></figure>

Once you have input the redirection settings, scroll to the bottom of the page and save the modified Proxy Server definition.

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-b3b3b2673738091ae1c0c287e7054006236d1aba%2Fimage.png?alt=media" alt=""><figcaption><p>Save button</p></figcaption></figure>

The Proxy Server will now successfully route the http to https protocol redirection and allow the browser to access the website even without a correct SSL certificate.

Next, deploy a configuration to the Proxy Server. The configuration we will use in this example is the one named BasicWebTrial, which is under Configurations->Product Trial in the administration tree:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-327d173aa9393869320e4d5eda2cefc751ed840b%2Fimage.png?alt=media" alt=""><figcaption><p>Configurations tree</p></figcaption></figure>

When you click on it, you will be presented with a number of options:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-3a508fb23c172b65f07b68258f4babd87d32e0a7%2Fimage%20(186).png?alt=media" alt=""><figcaption><p>General tab for Product Trial repo</p></figcaption></figure>

At this stage we are not going to make any changes to the configuration, only the changes made earlier to the Proxy Server server definition.

So now deploy it and start the Proxy Server by clicking on Deploy.

You will see a choice of servers you can deploy to:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-dad507d5c04ea4c17ae31a8fe2c94d80a2c73f62%2Fimage.png?alt=media" alt=""><figcaption><p>Deploy window</p></figcaption></figure>

Select the Proxy Server as shown, check **Restart immediately** and then click Deploy. You will then see the action window switch to the server view showing the configuration and all of its dependencies being deployed to the proxy:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-568d32818df0a00cd7d51be3ad9bca2250b02bc4%2Fimage.png?alt=media" alt=""><figcaption><p>Proxy Server while deploying</p></figcaption></figure>

Once complete, you will see that the Proxy Server is started and ready to use:

<figure><img src="https://2423451286-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F42mDa58RoaDxb6t8mbaI%2Fuploads%2Fgit-blob-9606120ccaa30b55dd2dd0e3cff58b3724da4ed9%2Fimage.png?alt=media" alt=""><figcaption><p>Proxy Server details after deployment</p></figcaption></figure>
