> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maqetin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

> The SDK Maqetin ships today, and how to send events from a platform without one.

Maqetin ships one SDK today: JavaScript, for the browser and your server. SDKs for other languages and platforms are not released.

## JavaScript

One package, `@maqetin/sdk-js`, has two entries. The browser entry sends events with a public key. The server entry sends transactional email with a secret key and refuses to run in a web page.

```sh theme={null}
npm install @maqetin/sdk-js
```

> [card] [JavaScript SDK](https://docs.maqetin.com/sdk/javascript.md)
>
> The install command, the options, what the SDK collects and how to send email from Node.

## Until your platform has an SDK

Send the same events with the REST calls. Their `channel` field says where a call came from; use `rest` for a call you make yourself.

> [card] [Events](https://docs.maqetin.com/data/events.md)
>
> What an event is and the fields each call takes.

> [card] [API reference](https://docs.maqetin.com/api-reference/introduction.md)
>
> The routes, their bodies and their answers.

## Public keys and secret keys

A public key goes in your web page or app and only sends events. A secret key stays on your server and does what its scopes allow, such as reading contacts and sending messages. See [API keys](https://docs.maqetin.com/workspace/api-keys.md).


## Related topics

- [JavaScript SDK](https://docs.maqetin.com/sdk/javascript.md)
- [Privacy and device storage](https://docs.maqetin.com/sdk/javascript-privacy.md)
- [Send through your own domain](https://docs.maqetin.com/sdk/javascript-own-domain.md)
- [Events](https://docs.maqetin.com/data/events.md)
- [Quickstart](https://docs.maqetin.com/quickstart.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.