22 lines
392 B
Plaintext
22 lines
392 B
Plaintext
<CodeGroup>
|
|
```bash npm
|
|
npm install @insforge/sdk@latest
|
|
```
|
|
|
|
```bash yarn
|
|
yarn add @insforge/sdk@latest
|
|
```
|
|
|
|
```bash pnpm
|
|
pnpm add @insforge/sdk@latest
|
|
```
|
|
</CodeGroup>
|
|
|
|
```javascript
|
|
import { createClient } from '@insforge/sdk';
|
|
|
|
const insforge = createClient({
|
|
baseUrl: 'https://your-app.insforge.app',
|
|
anonKey: 'your-anon-key' // Optional: for public/unauthenticated requests
|
|
});
|
|
``` |