# glokki

> The visual CMS that combines page building, multilingual content, experimentation, and AI-powered insights.

## Getting started

- [Integration Guide](https://glokki.com/docs/integration.md): How to integrate glokki into your application using @glokki-cms/sdk and @glokki-cms/react.
- [Troubleshooting Guide](https://glokki.com/docs/troubleshooting.md): Common issues when integrating glokki and how to fix them.

## Blocks & layouts

- [Block Development Guide](https://glokki.com/docs/block-development.md): How to create custom blocks for glokki using @glokki-cms/sdk.
- [Custom Component Development](https://glokki.com/docs/custom-component-development.md): Advanced patterns for building custom block types beyond the standard set.
- [Layout Development Guide](https://glokki.com/docs/layout-development.md): How to create custom layouts (header + footer chrome) for glokki using @glokki-cms/sdk and @glokki-cms/react.
- [Editor Preview Route](https://glokki.com/docs/editor-preview-route.md): How to mount the createEditorPreviewPage() helper so the CMS can edit block templates in the real visual editor — without needing a real page.

## APIs & SDK

- [API Reference](https://glokki.com/docs/api-reference.md): Reference for the primary public exports from @glokki-cms/sdk and @glokki-cms/react.
- [Asset Import API](https://glokki.com/docs/asset-import-api.md): Upload files into your tenant's media library over HTTP — and organize them into folders that are created on the fly. Built for scripts, CI jobs, and migration tooling that need to push assets without a browser session.
- [Data Model Write API](https://glokki.com/docs/data-model-write-api.md): Create and update data model records — the reference data blocks and collection fields point at (authors, venues, service hours) — from a script or an MCP agent, without a browser session.

## AI & automation

- [MCP Server Guide](https://glokki.com/docs/mcp-server.md): How AI clients such as Claude Code read and edit pages through the CMS MCP server — API key scopes, connecting a client, and the full tool reference.
- [Markdown for agents](https://glokki.com/docs/markdown-for-agents.md): Serve every published page as clean Markdown so LLM agents and crawlers get the content without the page chrome.

## Infrastructure

- [Page Analytics](https://glokki.com/docs/page-analytics.md): Privacy-friendly, first-party, cookieless pageview analytics for your tenant site — views, unique visitors, referrers, and device breakdown. No cookies, no consent banner, two files of setup.
- [Asset CDN Proxy](https://glokki.com/docs/asset-cdn-proxy.md): How tenant-uploaded media flows from the CMS to your tenant app — and why every published tenant app needs a /cdn/[...path] route.
- [Sitemap and robots.txt](https://glokki.com/docs/sitemap-and-robots.md): How to serve /sitemap.xml and /robots.txt from your tenant app — using the sitemap the CMS already generates, and a robots.txt that keeps the editor preview route and non-production deployments out of search engines.
- [Tenant-side caching with PostgreSQL](https://glokki.com/docs/tenant-cache-postgres.md): How a tenant app caches Delivery API reads in its own PostgreSQL database, with stale-while-revalidate and webhook-driven invalidation on publish.

## Blog

- [Visual editing in a headless CMS: how it works](https://glokki.com/blog/how-visual-editing-works-in-a-headless-cms.md): Your real Next.js pages in an iframe, a postMessage handshake with your block schemas, and a proxy that keeps public pages static with ISR.
- [Cookieless page analytics: what you can measure without a consent banner](https://glokki.com/blog/cookieless-page-analytics.md): Views, daily unique visitors, referrers and devices with nothing stored in the browser: how glokki page analytics works, what it leaves out, and setup.
- [Redirects and UTM tags without touching code](https://glokki.com/blog/redirects-and-utm-without-code.md): Retire a page and send its traffic to sign-up with one CMS redirect rule: regex, UTM tags, query strings, and the two mistakes to avoid.
- [Edit your website from Claude Code with the glokki MCP server](https://glokki.com/blog/edit-your-website-from-claude-code.md): Connect Claude Code to glokki in two minutes, then let it create a page from your own blocks, validate it and publish it, with you approving each step.
- [What's new in glokki: October 2026](https://glokki.com/blog/whats-new-october-2026.md): Self-serve sign-up, 15 developer guides with Markdown versions for agents, SDK fixes for caching and analytics, and a blog with RSS.
- [How to make your website discoverable by AI: llms.txt, Markdown and JSON-LD](https://glokki.com/blog/make-your-site-discoverable-by-ai.md): Four things that help AI assistants read your site — llms.txt, Markdown versions of pages, JSON-LD and honest crawl rules — and how glokki.com does each.
- [How we added a blog to our Next.js site with glokki collections](https://glokki.com/blog/adding-a-blog-with-glokki-collections.md): One collection, two blocks and an RSS route: how the glokki.com blog is built, what we reused from the docs section, and the two limits we hit.
- [We rebuilt glokki.com with an AI agent and our own CMS](https://glokki.com/blog/rebuilt-glokki-com-with-an-ai-agent.md): Two weeks, 31 commits, one agent. What worked when Claude Code built our site through the glokki MCP server, what broke, and the 18 documentation gaps we found.

## Pages

- [Glokki — AI-Powered Visual CMS for Modern Teams](https://glokki.com/index.md): The visual CMS that combines page building, multilingual content, experimentation, and AI-powered insights.
- [Blog](https://glokki.com/blog.md): Engineering notes, guides and product news from the team building glokki, the visual CMS that AI agents can drive.
- [Contact Us](https://glokki.com/contact-us.md): Questions about the Glokki beta, agency setups, data processing agreements or the SDK? Send us a message — we usually reply within one business day.
- [Documentation](https://glokki.com/docs.md): Developer guides for Glokki CMS: integrate the SDK with Next.js, build custom blocks and layouts, use the content APIs and automate editing with the MCP server.
