Pages Integration¶
Below two files needs to be declared inside index.html for your product
1 2 |
|
Union intercepts the event raised from the products to override the functionality. It provides the similar experience to the user across all the products.
Add below script in index.html so that product can send event to Union. You can update the unionClientSettings object as per the ClientSide page.
1 2 3 4 |
|
-
client-event-hub file is use to emit the event which would be captured by Union (Product needs to emit the event if they want to use the functionality)
-
access-token is use to setting up the token inside session store for your product
Setup Union locally¶
-
On to the dev region use sandbox functionality and make sure your underlying application is running on localhost:3000 probably you would be able to see your product logo on to the side bar.
-
Note - We allowed on localhost:3000 (for underlying application) no other port is open for Dev environment