Install Python or JavaScript SDK
Client
constructor accepts the following parameters:
aws-us-east-1-elastica
aws-eu-central-1-monstera
true
.
In most cases it is used for internal purposes.SlowDown
error.query(..., lsn=N)
code path.Go to the TopK Console
Authenticate
Go to a project
Generate an API key
Organization > Project > Collection
hierarchical structure:
Using with Vite ?
Remix, Nuxt, SvetleKit, Astro ...
topk-js
in a Vite project with server-side rendering (SSR), you may need to configure Vite to treat it as an external dependency. This ensures compatibility and prevents build-time issues related to SSR or dependency pre-bundling.Using with Webpack or Turbopack ?
Next.js
topk-js
in a Next.js project (especially with the App Router and Server Components), you may need to mark it as an external package to avoid build issues during server-side bundling.