# Dojo Jutsu: WordPress & Squarespace Embedding Guide
Embed your dojo's live class schedule, belt syllabus, and digital trial waiver directly into Squarespace 7.1, Wix Studio, Webflow, or WordPress in under two minutes with simple copy-and-paste HTML snippets.
Platforms: Squarespace 7.1, Wix Studio, Webflow, WordPress
Skill Level: No-Code / Copy-Paste Snippets
Security: CORS Domain Lock (Requires adding domain to Dojo Settings)
# 1. Prerequisites
Before embedding widgets on your live website:
- Open the Dojo Jutsu Admin Console > API Keys & Web Embeds.
- Click Add Domain and enter your live website URL (e.g.
https://wakatakekan.comorhttps://mybjj.squarespace.com). - Click New Publishable Key to generate your
dj_pub_...key.
# 2. Squarespace Embedding (Code Injection / Code Block)
# Method 1: On a Specific Page (e.g. Schedule Page)
- Edit your page in Squarespace.
- Add a Code Block where you want the schedule or waiver to appear.
- Paste the following HTML snippet:
HTML
<script src="https://cdn.dojojutsu.com/v1/embed.js" async></script>
<!-- Live Keiko Schedule -->
<dojo-jutsu-schedule
dojo-key="dj_pub_YOUR_DOJO_KEY"
theme="forest_green">
</dojo-jutsu-schedule>- Click Apply and save the page.
# 3. Webflow Embedding (Embed Component)
- Open your Webflow Designer.
- Drag an Embed element from the Add panel onto your canvas.
- Paste the HTML snippet:
HTML
<script src="https://cdn.dojojutsu.com/v1/embed.js" async></script>
<dojo-jutsu-waiver
dojo-key="dj_pub_YOUR_DOJO_KEY"
theme="obsidian_dark">
</dojo-jutsu-waiver>- Publish your site to your custom domain.
# 4. Troubleshooting & FAQ
# Q: The widget displays "Origin not whitelisted" (HTTP 403)
- Cause: Your domain was not registered in the Admin Console.
- Fix: Navigate to Dojo Jutsu > API Keys & Web Embeds, type your domain into Whitelisted Website Domains, and tap Add Domain.
# Q: Does embedding the schedule slow down my website load time?
- Answer: No.
embed.jsis ultra-lightweight (< 8 KB), zero-dependency, and loaded with theasyncattribute so it never blocks page rendering.