Start from https://platform.openai.com/docs/overview then check the API documentation https://platform.openai.com/docs/api-reference/authentication . You need to configure the API key (SITE variable on the module), and on the DEMO module the ASSISTANT_ID (SITE variable).