Skip to Content
Quickstart

Quickstart

Coyote is composed of a set of well integrated infrastructure primitives for backend and data engineers. For more information on each module, please refer to their respective documentation section.

The focus of this page is to help you get started with using the Coyote API.

Modules

The main concept you need to know when using Coyote is module, which is how we call the types of infrastructure primitives in Coyote such as cache, kv-store, rate-limiting, and stream.

All modules support having multiple entities under them, each addressed with its own key. For example the cache module may have multiple items, the rate-limiter may have multiple different rate-limiters, and the queue module may have many different queues; each with their own key identifying the specific resource.

Coyote also support namespaces, which is a way of having different configurations (such as persistence) for a group of keys within the same module. So you can, for example, have one cache store with a maximum size of 50 GB that is persisted to disk, and a different cache store with a maximum size of 1 GB that is ephemeral. If not set explicitly, the default namespace is used.

Getting an authentication token

You can get an authentication token from the dashboard, or if self-hosting refer to the self-hosting section.

Using the SDKs

You can install the SDKs as follows:

npm install coyote // Or yarn add coyote

Example usage (setting a KV key):

import { Coyote } from "coyote"; const coyote = new Coyote("AUTH_TOKEN"); const app = await coyote.kv.set("key", "value");

Please refer to each module’s documentation for more information on how to use each one.

Self-hosting

As mentioned above, this page is focused on using Coyote, for information on running it, please refer to the self-hosting section of the docs.

Closing words

That’s really all there is to it. All you need is to get an API key, install an SDK, and you can start using Coyote!

Last updated on