Documentation

Integration guide

This guide is for the developer of a publisher site. It tells you how to put Norspire Paywall on your site. You need about one day. You need no change in Norspire.

The guide has 18 parts. Parts 1 to 3 give the picture and the embed. Parts 4 to 9 give the rules of your server. Parts 10 and 11 list the cookies and the origins. Parts 12 to 15 give examples, errors, tests and versions. Part 16 gives the webhooks, and part 17 gives the entitlement read. Part 18 gives the docs server for coding agents.

The 18 parts of the integration guide
PartTitleSummary
1 What you build Architecture overview and the 2 request flows.
2 Values from the Integration page Site origins, server key and embed script tag.
3 The embed 1 script tag and 4 custom elements.
4 The hand-off How your server identifies a reader after log-in.
5 The server check How your server checks access on each article view.
6 The rules 4 fail-closed rules that prevent leaks.
7 Access levels, article reference and paid part What your CMS sends to Norspire for each article.
8 The NewsArticle markup Structured JSON-LD markup for search engines.
9 The legal links in the footer Cancel and withdrawal links on every page.
10 Cookies on the publisher site The 2 host-only cookies your server sets.
11 Site origins and return address Allowed return origins and third-party isolation rules.
12 Examples curl commands and a runnable Node.js site.
13 Errors and their causes Problem JSON format, error codes and shared IP gate.
14 Test the integration Test publication, test card and 5 required checks.
15 Versions and the public contract Version guarantees and the public OpenAPI contract.
16 Webhooks Signed events, signature checks, retries and endpoint rules.
17 Entitlement read Read access keys and subscription state for apps and CRM.
18 The docs server for coding agents Read-only MCP server at /docs/mcp for coding agents.

Start with part 1