Setup OpenAI
OpenAI is an artificial intelligence research and deployment company committed to ensuring that general-purpose AI benefits all of humanity. OpenAI aims to advance digital intelligence in ways that can improve human capabilities and address global challenges. The organization is known for developing state-of-the-art AI models and technologies, such as the GPT series, which includes models like ChatGPT.
Integrating OnPrintShop with OpenAI can significantly enhance the capabilities of print service providers by improving customer support, automating content creation, and optimizing operations.
Go to the Open AI site and log in to your account.
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/S-RU0boYdk8AVgtwhp5jC_loginscreen.png?format=webp)
From the next screen, click on the API:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/J6VzS8UGpXQJnjrWhHv23_chooseapi.png?format=webp)
- To create the API key, click on the API Keys available in the left panel:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/MwIwpbOctKeWRymVckbAX_createapi.png?format=webp)
- On the API Keys screen, click on the Create new secret key button. Enter Name, Product and click on the Create secret key button:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/cWNnblnXQjhZJMHSb_ysF_createnewkey.png?format=webp)
- The secret key will generated. You can copy and save the key in a secure place:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/of-wy5GuUOLz-QqyiPxcT_savekey.png?format=webp)
- Click on the Done button.
On your Admin Panel, go to the Store configurations >> External Service Settings >> Generative AI >> Open AI >> 'Edit’ Option:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/PfHAXB68Cjuu1aKfhGy3u_installservices.png?format=webp)
To begin with, click on the Install Service button. The "Settings" section will appear and you can proceed with further configuration as mentioned beow:
![Document image Document image](https://images.archbee.com/HFxpYr6_aO5gwA1HN_Pyx/73dDSUqlGXOdoam9cwsXU_configadmin.png?format=webp)
- API Key: Enter the API Key copied in the above step.
- Model: Select the GPT Model you want to use from the drop-down.
- System Message: The system message is the default prompt or message that will be considered while generating content in the OnPrintShop solution for any description or content. You can modify this message as per your needs.
- Once done, you can Save all the details.
To utilise the openAI integration in content generation, follow the Generate Content using openAI guide.