Guides
Private Mainnet

Private Mainnet

The Polybase DB Mainnet is currently invite-only. If you have a production use case and would like to join the private mainnet, please apply here (opens in a new tab).

Configuring the SDK

To connect to the Polybase DB Mainnet, you will need to configure the SDK with the following parameters:

import { Polybase } from "@polybase/client";
 
const db = new Polybase({ 
  baseURL: "https://mainnet.polybase.xyz/v0",
  defaultNamespace: "your-namespace" 
});
 
// Now you can use the SDK as normal
await db.collection("City").call("setCountry", ["USA"]);

Polybase DB Docs