# Getting started

## 1. Install

To install the SDK on your website, copy and paste the snippet below right before the closing `</head>` tag on every page where you want the SDK and widget to appear.

```html
<script src="https://sdk.chathive.app"></script>
```

{% hint style="info" %}
**Good to know:** If you have a single page app make sure this script is loaded before your try to accessing the SDK
{% endhint %}

## 2. Get your API key

You can find your api key in your dashboard under the `implementation` tab.

## 3. Init your project

Follow the initialization steps for the project type that matches your project.

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3>Chatbot project</h3></td><td>Learn how to add a Chatbot project onto your website</td><td></td><td><a href="chatbot">chatbot</a></td></tr><tr><td><h3>AI Form project</h3></td><td>Learn how to embed a AI form into your website or app</td><td></td><td><a href="../ai-form#installation">#installation</a></td></tr><tr><td><h3>Triggers</h3></td><td>Learn how you can use the SDK to execute a trigger from within your website or app</td><td></td><td></td></tr></tbody></table>
