Skip to main content
Integrate Gately with your Webflow site to add user authentication, protected content, and member management.

Quick Setup

1

Add the SDK

In Webflow, go to Project Settings > Custom Code and add to the Head Code:
2

Add Custom Attributes

Use Webflow’s custom attributes to mark protected content.
3

Add Footer Scripts

Add interaction scripts to the Footer Code section.

Login Form

HTML Structure

Create a form in Webflow with these elements:
  • Email input with ID login-email
  • Password input with ID login-password
  • Submit button with ID login-submit
  • Error message div with ID login-error

JavaScript

Add to Footer Code:

Signup Form

HTML Structure

Create a form with:
  • Name input with ID signup-name
  • Email input with ID signup-email
  • Password input with ID signup-password
  • Submit button with ID signup-submit
  • Error message div with ID signup-error

JavaScript

Protected Content

Using Custom Attributes

In Webflow, add custom attributes to elements:

JavaScript for Visibility

Social Login Buttons

Google Login

GitHub Login

User Profile Display

Page Protection

Protect entire pages by adding to the page’s custom code:

Best Practices

Combine Gately with Webflow interactions for smooth UX.
Create styled error message components in Webflow.
Add loading animations while auth operations complete.
Test auth flows on mobile devices.