Example pages

Six working pages to copy, from the paste-in snippet to switching client and signed identity.

Example pages are complete web pages that show the Nurture widget in use. Each card below is one page. Choose View and copy to read and copy its code, or Download to save the file. Then put it on a test page of your portal.

Trying an example#

  1. Save the page and replace its placeholders with the values Subcontext gives you: YOUR_WIDGET_KEY (your widget key, nwk_...), YOUR_FIRM_ID (a firm id Subcontext has set up for you) and SIGNED_PASS_FROM_YOUR_SERVER (a pass your server created for that firm id and the page's adviser id, see Signed identity). Put your own email address where the page says you@your-firm.example.
  2. Put it on a test page at an address Subcontext has allowed for your widget key. Opening the file from your computer won't work.

The firm id and adviser id in the page must be the ones the pass was created for, or every request fails with identity_mismatch. Passes expire, so create a fresh one when it runs out.

  • Test messages are sent for real. Use an email address you own, and don't press Send for a made-up client whose email or mobile you don't control.
  • Unknown firm ids can create real trial accounts. If your portal offers trials, accepting the terms for a firm id that isn't set up creates one. Use a firm id Subcontext has set up for you.
  • The first time each adviser opens the widget, they accept the terms.
  • Work in progress is kept per browser tab. Open a new tab, or press Cancel or Done, to start fresh.

Stuck, or something missing?

Get in touch and a person on the team will help.

Contact us