Adding Application

1. Add application

The onboarding step lets you create your first app. However, if you want to add a new application please click on the + icon on the dashboard page, as shown below.

Document image

Enter a display name for your application, specify if this is a Production, Staging, or Test environment, and the application URL.

Document image

2. Install the SDK

The next step is to add the javascript script tag to your application.

To access the script tag, click Settings and then select your newly created apps from the sidebar. You will see the script tag under the Script tab

Document image

We recommend adding the script in the header section of a common file that gets included in all the pages of the application, e.g. header/menu/template, etc.

The script tag needs to be added to all application pages, not just the home page. It is, therefore, best to add this to any common file that is referred to from all the pages. For example, in our sample Digital Bank application, the script tag has been added to src/main/resources/templates/common/sections.html.

Optionally, you can also use Google Tag Manager (GTM). Just follow the usual GTM instructions to create a tag and don't forget to publish it. For more information on how to instrument your app please check out the Instrumentation page

3. Log in to Relicx

Once you have added the script tag to the application, RelicX will start recording user sessions. Depending on how busy the site is, it may take 5-10 minutes for the first session to show up in the application UI. Once logged in you will see the Dashboard page

Document image

To view the recorded sessions, click on the sessions number on your application tile.

Click on the play icon to see the session replay

Document image

4. Define Application Environments

A unique aspect of Relicx is that it interacts with your application across the release cycle stages. It monitors your production to record user sessions, extract flows and generate tests. These tests can be run against any environment, pe-production, or production. You can therefore define multiple environments for an application.

When you first add an application, it is set by default as your Monitored environment.

You can manage applications environments on the settings page.

Document image

Click on the Environments tab, to view and manage application environments

Document image

The environment with the Monitor radio button checked is used to generate flows and tests.

The Pre-Release environment is your staging environment and final stop before the new release is deployed in production. While you can run Relicx tests against any environment that has the Testing toggle turned on, the Release Risk score is based on tests run against the pre-release environment.

You can define as many environments for your application as you would like. Click the "Add New" button to add a new environment.

You can instrument any environment for session recording using the same script snippet. Please note, however, that only one environment can be marked as Monitored or Pre-Release.

Add an application - Video Walkthrough

Updated 21 Feb 2022
Did this page help you?