> For the complete documentation index, see [llms.txt](https://mobidonia.gitbook.io/privacy-ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobidonia.gitbook.io/privacy-ai/define-basics/open-ai-setup.md).

# Open AI Setup

Bring AI to your project

In this video you will learn how to setup Open AI - ChatGPT

{% embed url="<https://www.loom.com/share/aa546826d03e4d6bbbd03662a4a56cd5>" %}

To get your API KEY

{% embed url="<https://platform.openai.com/account/api-keys>" %}

### Cron JOB setup

When using Open AI, you will neet to setup cron JOBS that will run on some interval. Suggested is 1-5 min.&#x20;

The cron job that need to be executed is

```
curl -sSf https://youdomain.com/gen/cron/ai
```

**<https://youdomain.com/gen/cron/ai>**

Here is how you can create cron job in cPanel

{% embed url="<https://chat.openai.com/share/48f0c5a5-7ba5-4e18-b210-86c550b34ac3>" %}
