{"id":12975,"date":"2023-07-11T16:29:56","date_gmt":"2023-07-11T10:59:56","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=12975"},"modified":"2024-04-29T11:23:07","modified_gmt":"2024-04-29T05:53:07","slug":"generate-api-key","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/chatgpt-ai-pro-magento-2\/generate-api-key\/","title":{"rendered":"Generate API Key"},"content":{"rendered":"<p><b>Step 1:<\/b> <b>Login or Signup to OpenAI Account<\/b><span style=\"font-weight: 400;\"> using the below URL.<\/span><\/p>\n<p><a href=\"https:\/\/platform.openai.com\/\"><span style=\"font-weight: 400;\">https:\/\/platform.openai.com\/<\/span><\/a><span style=\"font-weight: 400;\">\u00a0<\/span><\/p>\n<p><strong>Note &#8211;<\/strong><\/p>\n<ul>\n<li>The extension does not include OpenAI API pricing. That you need to pay separately based on your usage.\u00a0 You can visit below link to check OpenAI API pricing.<\/li>\n<li><a href=\"https:\/\/openai.com\/pricing\">https:\/\/openai.com\/pricing<\/a><\/li>\n<li>For the extension to function seamlessly with ChatGPT, you need to include your credit card information in the billing details of your OpenAI account. Keep in mind that trial accounts are equipped with $5 in API funds, subject to a request limit that may result in errors during multiple requests. You will need to pre-purchase credits in your wallet to use the API. Any API usage you incur will first be deducted from the prepaid wallet If your usage exceeds the credits you&#8217;ve purchased, you&#8217;ll then be billed for the additional amount.<\/li>\n<li>To leverage the ChatGPT 4 model, it is imperative to upgrade your OpenAI account to the Pro plan based on the current circumstances.<\/li>\n<\/ul>\n<p><b>Step 2:<\/b><span style=\"font-weight: 400;\"> Click on your profile logo from the upper-right corner and select <\/span><b>View API keys<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-12976\" title=\"View API Keys\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/View-API-Keys.png\" alt=\"View API Keys\" width=\"1351\" height=\"621\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/View-API-Keys.png 1351w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/View-API-Keys-300x138.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/View-API-Keys-1024x471.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/View-API-Keys-768x353.png 768w\" sizes=\"(max-width: 1351px) 100vw, 1351px\" \/><\/p>\n<p><b>Step 3:<\/b><span style=\"font-weight: 400;\"> Now click on <\/span><b>Create new secret key<\/b><span style=\"font-weight: 400;\"> button.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12977\" title=\"Create New Secret Key\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/Create-New-Secret-Key.png\" alt=\"Create New Secret Key\" width=\"1070\" height=\"468\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/Create-New-Secret-Key.png 1070w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/Create-New-Secret-Key-300x131.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/Create-New-Secret-Key-1024x448.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/Create-New-Secret-Key-768x336.png 768w\" sizes=\"(max-width: 1070px) 100vw, 1070px\" \/><\/p>\n<p><b>Step 4:<\/b><span style=\"font-weight: 400;\"> The API secret key is generated successfully. You can copy and add to the extension configuration.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-12978\" title=\"API key generated\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/API-key-generated.png\" alt=\"API key generated\" width=\"1141\" height=\"518\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/API-key-generated.png 1141w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/API-key-generated-300x136.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/API-key-generated-1024x465.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2023\/07\/API-key-generated-768x349.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":12972,"menu_order":1,"template":"","manualdocumentationcategory":[4043],"manual_doc_tag":[],"class_list":["post-12975","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-chatgpt-ai-pro"],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12975\/revisions"}],"predecessor-version":[{"id":13716,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12975\/revisions\/13716"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/12972"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=12975"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=12975"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=12975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}