Each example is a small Next.js app with a real table and Gridsay answering questions about it. They live in the open-source repository gridsay/gridsay on GitHub, next to the packages they use.
You need Node.js 22.18 or later, pnpm 10 and a Gridsay secret key: create one in the console, under Keys. Clone the repository once and install from its root:
git clone https://github.com/gridsay/gridsay.gitcd gridsaycorepack enablepnpm installEach example reads your key from .env.local in its own folder. Its .env.example already holds the Gridsay address; you add the key:
GRIDSAY_SECRET_KEY=<your secret key>The key stays on the server: only the example's route reads it and adds it to each question it forwards. Each question costs credits on your key.
Before you deploy one
Each example's route refuses every request outside pnpm dev until you put your own sign-in check in its authorize.ts. Without one, anyone who can reach the route spends your credits.
500 generated employees in MUI X Data Grid Premium, whose AI Assistant is answered by Gridsay through @gridsay/mui-x-data-grid. The browser posts to the app's own route, which adds your key.
You need your own MUI X licence. Data Grid Premium is a commercial MUI package. Without a licence key the grid shows MUI's watermark and a console warning; put your key in NEXT_PUBLIC_MUI_X_LICENSE_KEY.
cd examples/mui-x-data-gridcp .env.example .env.local# Set GRIDSAY_SECRET_KEY in .env.local, then:pnpm dev# Open http://localhost:3200Open AI Assistant in the toolbar and ask "people in Germany or France earning over 100k, highest paid first", then "only remote ones".
Where to look: app/api/ai-assistant/route.ts adds the key and forwards the question; app/api/ai-assistant/authorize.ts decides who may ask. The example on GitHub.
200 generated orders in a TanStack Table v9 table, with a question box, undo and a status line, using @gridsay/tanstack-table. No licence key: TanStack Table is MIT open source.
cd examples/tanstack-tablecp .env.example .env.local# Set GRIDSAY_SECRET_KEY in .env.local, then:pnpm dev# Open http://localhost:3400The first start builds the packages the example uses, so it takes a little longer. Then try, in order:
Where to look: app/page.tsx connects the table to the assistant; src/table.ts says which features the assistant may change and describes each column. The example on GitHub.