> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.kelp.click/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# API and SDK overview

Everything in Kelp is available through a simple JSON API. The JavaScript SDK is optional.
## API basics
* All endpoints use `POST` with a JSON body and an `X-Api-Key` header.
* Search: `POST /api/v1/collections/{collection}/search` on your search host.
* Browse: `POST /api/v1/collections/{collection}/browse` on your search host.
* Events: `POST /analytics/events` on your analytics host.
The API works from PHP, Magento themes, Liquid, mobile apps or any script. No npm is required.
## JavaScript SDK
Install with `npm install @kelpclick/client@latest`, or load it from a CDN as an ES module in themes without a bundler. It covers search and browse, analytics, identity and email capture, with React bindings in `@kelpclick/client/react`. It also handles retries and timeouts for you.
## Documentation
* [Quick start](https://docs.kelp.click/quick-start)
* [Core concepts](https://docs.kelp.click/core-concepts)
* [API overview](https://docs.kelp.click/api)
* [SDK install](https://docs.kelp.click/sdk/install)