New SectionURL NameWidget-loading-Landing-Page-Sticky-Bar-via-custom-integrationTitleWidget loading / Landing Page / Sticky Bar via custom integrationOwnerDanielleArticle DetailsContentHelp ContentINTEGRATION1. Login to BayRewards Sign in to your BayRewards account. Navigate to the Settings section from the left-hand menu. Refer to the screenshot for the exact location of the Settings option. 2. Navigate to Code Integration3. Generate HMAC Secret Create an HMAC secret. This secret will be used on your server side code.4. Generate hash_id on the Server Use the HMAC secret in your backend to generate a hash_id based on the customer information. A sample PHP example is shown in the screenshot—use the same logic for your preferred language. The generated hash_id must be passed to the client-side script along with the customer details as shown in below image. 5. Client Integration On the client side, include the hash_id and customer details exactly as shown in the reference image below. Ensure that: window.BayRewards is initialized first with customer information. The widget script loads after, so it can correctly read the data. This combined step ensures the widget displays accurate customer information. Landing Page (Dedicated Page) The dedicated landing page follows the same integration process described above. After completing the main setup steps: Navigate to BayRewards → Onsite Display → Landing Page. Click Get Code. Add this code to your website on the page where you want the dedicated BayRewards landing page to appear. This ensures the landing page loads correctly with the customer details. Sticky BarNavigation : BayRewards → Onsite Display → Sticky Bar. The sticky bar also follows the same integration process described above. After completing the main setup steps: Go to Settings → General Settings → Sticky Bar Settings in the BayRewards app. Enable the Sticky Bar.