Last updated 09/27/2023
Before adding ‘Single Sign On’ Authentication make sure you have added the initialization script tag.
If you have a Login or Sign in page, you can embed the Bread & Butter ‘Sign in’ tool directly on the page, like you would with any other sign in option.
Once added, the ‘Sign in’ tool works just like the ‘Continue with’ widget, except it is on the page, instead of hovering above.
This guide explains how to add the ‘Sign in’ tool to your site.
Note: You don’t need to add the ‘Continue with’ tool snippet for the ‘Sign in’ tool to work.
Find the location on your page or header where you want to add the 'Sign in' tool.
In the Add element menu in the left pane in Webflow, drag a Div Block element to the location you chose in Step 1.
Select the Div Block by clicking on it on the page, or by finding it in the Navigator in the left menu.
bb-signin-widget
Note: The element ID is what links the Bread & Butter code to the Div element, so it knows where to put the 'Sign in' tool.
Feel free to use anything other than bb-signin-widget. Just make sure to change it both in the Div Block ID, and in the Bread & Butter code snippet, so that they remain linked.
Scroll down to the Custom Code section, for the Head tag.
In the Head Code field, paste in the following script tag after the Bread & Butter initialization script tag.
<script> null == window.breadbutterQueue && (window.breadbutterQueue = []), window.injectBreadButter = function (e) { "undefined" != typeof BreadButter && BreadButter.init ? e() : window.breadbutterQueue.push(e) }; injectBreadButter(function () { BreadButter.ui.signIn("bb-signin-widget"); }); </script>
Don’t use Bread & Butter? Want to learn more about how Bread & Butter solves the four biggest problems facing marketers today? Book a demo and see how Bread & Butter is helping marketers make the most of their first-party data
Add authentication & API event tracking to your website/app with a script tag & configuration