Get Started · Examples · Try the Demo · Docs · Discord
Welcome to Instant's admin SDK.
import { init, tx, id } from "@instantdb/admin";
const adminDB = init({
appId: "my-instant-app-id",
adminToken: process.env.INSTANT_APP_ADMIN_TOKEN,
});
const data = await adminDB.query(
{ bookshelves: { books: {} } } // wohoo!
);
Head on over to the Instant on the Backend page in the docs to get started!
If you have any questions, feel free to drop us a line on our Discord