This repo showcases an example on how to incorporate ChatGPT API generated content into your Salesforce Marketing Cloud emails.
- Go to the OpenAI website at https://openai.com and click on the "Get started for free" button.
- Enter your email address and select a password to create an account.
- Follow the prompts to verify your email address and complete your account registration.
- Once you are logged in to your OpenAI account, navigate to the "API Keys" tab.
- Click on the "New API Key" button to generate a new API key.
- Specify the name and permissions of your new API key, and click on the "Create API Key" button.
- Copy your new API key and use it to connect to the ChatGPT API in your code.
- Login into your SFMC Account
- Download the package from this repo
- Deploy it utilizing Package Manager
- Modify the ChatGPTGenerator Content Area to incorporate your API Key
- Follow the example email file to incorporate ChatGPT into your emails
- More instructions can be found here: https://www.devsutd.com/instant-content-generation-in-salesforce-marketing-cloud-with-chatgpt