# DocPin > DocPin publishes HTML pages made by people and AI apps (Claude Artifacts, ChatGPT pages, reports, dashboards, prototypes) to a link that looks like yours, such as acme.docpin.it/q4-report or docs.acme.com/q4-report. Pages can be public, password-protected or limited to certain people, keep the same link across updates, and keep every earlier version. Publish from Claude or ChatGPT over MCP, from code over a REST API, or by uploading a file. Key facts for building on DocPin: - Publishing the same slug again publishes a new version behind the same link. - Published pages run in a sandboxed frame. Links to other sites open in a new tab. The page's ?query and #hash sync with the address bar, so state written with history.replaceState is shareable. localStorage works per page, per visitor. Cookies and IndexedDB don't. - Every page has a JSON data store (up to 1 MB) that the page reads with `docpin.data()` or `docpin.onData(cb, { every })`. Update it with `PATCH /v1/pages/{id}/data` or the MCP tool `set_page_data`, without republishing. Page data is as visible as the page: never put secrets in it. - MCP server: https://mcp.docpin.app/mcp (OAuth). REST API: https://api.docpin.app (Authorization: Bearer dp_… API key). ## Docs - [Overview](https://docpin.app/docs/index.md): what DocPin is, ways to publish, link formats, plans - [Page data](https://docpin.app/docs/page-data.md): the per-page JSON store, `docpin.data()` and `docpin.onData()`, the REST and MCP endpoints, limits, security and errors - [How pages run](https://docpin.app/docs/page-runtime.md): the sandbox, links, URL state, localStorage, the `docpin` object, a checklist for AI-generated pages - [Recipe: live dashboard](https://docpin.app/docs/recipes/live-dashboard.md): a complete dashboard page, plus update scripts in curl, Node.js and Python - [REST API](https://docpin.app/docs/api.md): publishing, pages, page data, versions, boards, status codes - [MCP](https://docpin.app/docs/mcp.md): connecting Claude, ChatGPT and other clients, every tool, how a model should build live pages ## Optional - [All docs in one file](https://docpin.app/llms-full.txt) - [Guide: turn an HTML file into a link](https://docpin.app/guides/html-file-to-link) - [Guide: sharing Claude artifacts](https://docpin.app/guides/claude-publish-artifact) - [Guide: can ChatGPT build a website?](https://docpin.app/guides/chatgpt-website)