Customize and embed the OnRamp widget
Updated
Who can do this: Super Admins, Creators and Integrators can change and publish widget settings. Other seat licenses can view them.
The OnRamp widget shows a customer user their project from inside your own website or app. You set its colors and options in OnRamp, then paste a script into your site.
Before you begin
You need to be able to add a script to your website or app.
Your site must know the email address of the person who is signed in. The widget uses it to find their project.
Customize the widget
Go to Settings > Widget. If your Settings menu is grouped into sections, select API & webhooks, then the Embed widget tab.
On the Embed tab, keep Settings selected.
Under Color, set any of these:
Widget background and Widget border
Pin background, Pin border and Pin icon
Text primary, Text secondary and Text link
Under Other Options, turn Peek on or off. Peek reminds the user of the widget from time to time when it's unpinned.
Check the result in Embed preview. It updates as you change each setting.
Select Publish changes.
A message reads "Your widget settings have been updated". To drop your unpublished changes and go back to the published settings, select Reset defaults.
Turn on FastPass Auto-Login
Optional: With FastPass Auto-Login on, portal links in the widget sign the user in if they don't already have an active session.
Under Other Options, turn on FastPass Auto-Login.
Read Enable FastPass Auto-Login, and select the checkbox to accept responsibility for user authentication.
Select Enable FastPass.
Select Publish changes.
Warning: FastPass Auto-Login reduces portal security. Turn it on only if your site signs users in before it shows the widget. Your portal projects must hold no data that needs password protection.
Embed the widget
On the Embed tab, select Script.
Select Copy to Clipboard.
Paste the snippet into your site, right after the opening
<body>tag.Replace
INSERT_CURRENT_USER_EMAILwith the email of the user signed in to your website or app.
If FastPass Auto-Login is on, the snippet includes fast_pass: '1'. Don't remove it.
Copy the snippet again after you publish a change to FastPass Auto-Login, so your site uses the current version.
What customer users see
The widget appears for an active customer user who has an active project. Otherwise nothing shows.
With one active project, it shows the project's name, percent complete and days to go, with a Keep going link to the project in the portal.
With more than one, it shows the number of active projects and a View all link to the portal.
The user can unpin the widget to collapse it. With Peek on, the collapsed widget rises briefly every 30 seconds.