Quick Setup

Get Tailark Pro running in a few minutes. You need a Next.js app with shadcn/ui already initialized (npx shadcn@latest init).

For path aliases, monorepos, dark mode and MCP Server, see the full guide.

1

Generate API key

Open the Dashboard and click Create API Key. Copy the key when shown — you will not be able to view it again.

2

Add API key to .env.local

Add your API key to .env.local in your project root:

.env.local
3

Configure components.json

Merge the aliases and registries below into your existing components.json. Add app, types, and content if you plan to install Tailark Pages.

components.json

If you are using a monorepo, read the monorepo section for more information about how to configure the registry in a monorepo.

4

Add theme

Copy the theme below into your global stylesheet (for example app/globals.css).

global.css

For dark mode and a theme toggle, see the theme guide.

5

Install your first item

Run this from your app directory (project root, or a monorepo app workspace such as apps/web):

bash

Important Security Notes

  • Never commit your API key to version control
  • Keep .env.local in .gitignore
  • Manage keys from the Dashboard

What's next?

You've set up Tailark Pro. Finish these steps to get the most out of blocks and pages in your project.

For full configuration options, see the full guide.