---
title: Squarespace and Wix
description: Use a normal button link, or paste HTML into a code block where your editor permits it.
order: 70
published: 2026-10-02
updated: 2026-10-02
---
## Start with a button link

[Publish your book and activate selling](/developers/quickstart). Add a button to your website, label it “Buy my ebook”, and set its destination to your book's buy URL:

```text
https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG
```

Replace the uppercase slugs. The [catalog API](/developers/api) returns the complete link as `buy_url` for a book on sale. Use the button's normal link destination so checkout opens as a page.

## If your editor accepts HTML

You can paste this into a code block that renders HTML:

```html
<a href="https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG">Buy my ebook</a>
```

Editor capabilities vary. The plain button link is sufficient; you don't need to install a script. Preview your published page and follow the link to verify the book and price. Readers can buy as guests.

The embed is coming soon. Use an ordinary link today.
