# Full-page mode

If you want to use CKBox as a full-page application, attach the CKBox instance to the `document.body`.

```html
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<script src="https://cdn.ckbox.io/ckbox/2.13.1/ckbox.js"></script>
		<style>
			html, body {
				margin: 0;
				padding: 0;
				height: 100vh;
			}
		</style>
	</head>
	<body>
		<script>
			CKBox.mount(document.body, {
				tokenUrl: 'https://your.token.url'
			});
		</script>
	</body>
</html>
```

[Open example](https://dev.ckbox.io/demo/full-page.html)

> **Note**
>
> Need more functionality? [Take a survey](https://surveys.hotjar.com/1d72aefc-0073-416d-9e70-b773458881b4) and help us develop CKBox to suit your needs better!

---

Full index of the CKBox documentation: [llms.txt](../../../llms.txt)
