From 86da99007605bc4ff44caa0677241c57502aca09 Mon Sep 17 00:00:00 2001 From: Taesu <166604494+bytaesu@users.noreply.github.com> Date: Sun, 1 Feb 2026 10:10:23 +0900 Subject: [PATCH] docs: add quick start section to TanStack Start integration (#7729) --- docs/content/docs/integrations/tanstack.mdx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/content/docs/integrations/tanstack.mdx b/docs/content/docs/integrations/tanstack.mdx index 5967b299f5..6ee9cb8f6a 100644 --- a/docs/content/docs/integrations/tanstack.mdx +++ b/docs/content/docs/integrations/tanstack.mdx @@ -7,6 +7,19 @@ This integration guide is assuming you are using TanStack Start. Before you start, make sure you have a Better Auth instance configured. If you haven't done that yet, check out the [installation](/docs/installation). +## Quick Start + +You can create a new TanStack Start project with Better Auth integrated using the following command. This CLI sets up a project with an auth instance configured with the plugin and mounted handlers. + +```package-install +npm create @tanstack/start + +◇ What add-ons would you like for your project? +│ Better Auth +``` + +## Usage + ### Mount the handler We need to mount the handler to a TanStack API endpoint/Server Route.