🤖 How to input your OpenAI credentials

📚 In this article you will learn how to input your OpenAI credentials

💡 PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

In order to use the AI chatbots in Social Poster (R), you need to input your OpenAI API credentials into the app. Do not worry, it is easier than it sounds. Let’s go through the steps to achieve it.

💡 IMPORTANT: This tutorial for linking OpenAI works for generating content and images (not for WhatsApp).

Obtaining your OpenAI API keys #

 

1.- Open an OpenAI API account. Go to the OpenAI website. Scroll down and in the footer, select API Login. Sign up with the same email and password you use for ChatGPT, or click on Sign Up to create a new account.

After you enter your personal information, the following screen will appear asking where do you wish to go. Select API.

2.- Generate a Secret Key. On the left sidebar, select API Keys. Then, click on ‘Create new secret key’ at the top right corner.

On Owned By, select ‘You’. Give your key a name to identify it. Optionally, select a Project to link it. On Permissions, select ‘All’ and click on ‘Create’. Copy the code that will appear and save it somewhere safe. After you close this window, you will not be able to see it again.

💡 PRO TIP: You can recycle the same Secret Key on several Planify X apps. However, we recommend having separate keys for each one, as this will allow you to measure the token spend on every tool.

Adding Credit To Your OpenAI Account #

 

All OpenAI models work with tokens, and these tokens have a cost. Therefore, you need to add credit to your OpenAI account for your OpenAI keys to work. We recommend adding at least $10.00 USD to get started. Here are the steps to do it.

1.- Add a Payment Method. Click on the Settings icon at the top right corner to access the Settings screen. Once inside, select ‘Billing’ on the left sidebar. Scroll down and click on Payment Methods.

Once inside the Payment Methods section, click on the ‘Add Payment Method’ button. Add your credit card information. Optionally, set it as your default payment method and save.

2.- Add credit to your account. Once you have added a payment method, go back to the Overview section inside the Billing screen and click on the ‘Add to credit balance’ button.

Indicate the amount you wish to add in dollars. Select your payment method and click on continue to confirm the purchase. When you are finished, we recommend going back to the Overview section to confirm that the credit has been added. When your credit balance reaches $0.00 USD, your API requests, and therefore your chatbots, will stop working, so you must repeat this step frequently to ensure you always have enough credit.

3.- Enable Auto-recharge. You can optionally enable automatic recharge to automatically keep your credit balance topped up. To do this, go back to the Overview section, and click on the ‘Enable auto recharge’ button below your credit balance.

Set up the settings of the auto recharge. Make sure to turn on the ‘Yes’ toggle at the top of the modal form and save. Now, whenever you get out of credit, an automatic purchase for the amount you decided will be charged to your default payment method.

 

Input your OpenAI keys into Social Poster (R) #

 

1.- Open the API Configuration. Log in to your Account. On the top right, click on your profile, continue to “Settings”.

2.- Go to Settings > OpenAI.

2. In the loaded window, you will have a link to access the OpenAI access token. Click on the link.

3.  You can follow the steps indicated in section 1 of this article, that is, the generation of the API directly on the OpenAI page.
4. Go back to your application, paste your Secret Key, and click on the ‘Save’ button.

5. Congratulations! You have now configured your OpenAI credentials with your application.

💡 IMPORTANT: For WhatsApp, your users will have to link their own OpenAI credentials. Check the corresponding tutorial to learn more.