Use a Custom HTML block
After publishing your book and activating selling, add a Custom HTML block to your page. Replace the uppercase slugs, then preview the page.
<a href="https://thebookmarket.com/checkout/YOUR-AUTHOR-SLUG/YOUR-BOOK-SLUG">Buy my ebook</a>
If your editor or site permissions restrict code, use a regular button block and paste the same buy URL into its link field. No script is required.
Check the destination
Open the published page and follow the link. It should show your book in Book Market checkout. Readers don't need an account to buy.
For a custom theme, the HTML and JavaScript example can render current book details. Use buy_url from the catalog API and only show the button when the book is on sale. The embed is coming soon.