Advanced Configurations and Integrations > Configuring the URL Shortening Service
Configuring the URL Shortening Service
To use the URL Shortening Service field on the Configuration and Setup > Notification Delivery tab, complete the following steps to configure the URL shortening service. This allows you to use the URL shortening service for links sent in email or text alert notifications.
1. Obtain the Firebase API key:
a. Go to the following URL: https://firebase.google.com/.
b. Sign in with a Google account.
c. Click Get started.
d. From the Firebase console, click Add project and follow the steps to create a project.
e. From the Project Overview page, click the gear icon and select Project settings.
f. Copy the web API key to a known location.
2. Create a URL prefix:
a. In the Firebase project, under Grow, click Dynamic Links.
b. Click Get started.
c. Follow the instructions to create a URL prefix. This is the URL prefix that is used for your shortened URLs.
d. Optionally, create a whitelist URL pattern to prevent phishing. Select Whitelist URL pattern from the three dot menu on the Dynamic Links page, and follow the instructions.
3. Apply the Firebase API key in ThingWorx Composer:
a. Open the PTC.SCA.Common.FirebaseURLShortening Thing for editing.
b. Under Configuration, click Edit icon to edit the apiKey field.
c. Paste in the web API key obtained in step 1.
* 
Ensure that the web API key entered for the apiKey field is valid and complete to avoid errors with alerts and notification delivery.
d. In domainUriPrefix field, paste in the URL prefix created in step 2.
e. Click Save.
f. The PTC.SCA.Common.FirebaseURLShortening Thing now appears as a selectable value for the URL Shortening Service field on the Notification Delivery page, under Enable Text Delivery.
Was this helpful?