{"id":18588,"date":"2025-03-20T11:12:22","date_gmt":"2025-03-20T16:12:22","guid":{"rendered":"https:\/\/securedb.io\/kb\/?p=18588"},"modified":"2026-09-28T14:21:37","modified_gmt":"2026-09-28T19:21:37","slug":"openai-api-key-setup","status":"publish","type":"post","link":"https:\/\/securedb.io\/kb\/?p=18588","title":{"rendered":"OpenAI API Key Setup"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">Connecting Your OpenAI API Account to SecureDB<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">SecureDB uses an OpenAI API key to power AI features within your organization.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For company integrations, we recommend using an <strong>OpenAI Service Account API key<\/strong> rather than an API key belonging to an individual employee. A service account is associated with an OpenAI API project and is designed for application-to-application access. <a href=\"https:\/\/help.openai.com\/en\/articles\/9186755-managing-projects-in-the-api-platform?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> Your company&#8217;s ChatGPT workspace and its OpenAI API Platform organization are separate. Being a member of a company ChatGPT workspace does not automatically give you access to the company&#8217;s API organization or projects. <a href=\"https:\/\/help.openai.com\/en\/articles\/4936812-how-do-i-add-change-or-remove-members-on-my-openai-api-account%23.doc?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Begin<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the <a href=\"https:\/\/platform.openai.com\/?utm_source=chatgpt.com\">OpenAI Platform<\/a> and sign in using your company account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open the organization selector and confirm that you can see your company&#8217;s <strong>OpenAI API organization<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you see only <strong>Personal<\/strong> and do not see your company organization, contact the person who manages your company&#8217;s OpenAI API account and ask to be added to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The company&#8217;s OpenAI API organization.<\/li>\n\n\n\n<li>The appropriate API project for SecureDB.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">An organization owner may need to complete these steps for you. OpenAI organization and project owners can manage members and create service accounts. <a href=\"https:\/\/help.openai.com\/en\/articles\/9186755-managing-projects-in-the-api-platform?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a Service Account API Key<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once you have access to the correct company organization:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Sign in to the <a href=\"https:\/\/platform.openai.com\/?utm_source=chatgpt.com\">OpenAI Platform<\/a>.<\/li>\n\n\n\n<li>Select the correct <strong>company organization<\/strong>.<\/li>\n\n\n\n<li>Select the API <strong>project<\/strong> that will be used with SecureDB.\n<ul class=\"wp-block-list\">\n<li>If your company does not already have an appropriate project, an organization owner can create one.<\/li>\n\n\n\n<li>A dedicated project such as <strong>SecureDB<\/strong> is recommended so API usage and access can be managed separately.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Open <strong>Organization Settings<\/strong>.<\/li>\n\n\n\n<li>Select the appropriate <strong>Project<\/strong>.<\/li>\n\n\n\n<li>Open <strong>Members<\/strong>.<\/li>\n\n\n\n<li>Click <strong>+ Service account<\/strong>.<\/li>\n\n\n\n<li>Give the service account a recognizable name, such as <strong>SecureDB<\/strong> or <strong>SecureDB Production<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Create<\/strong>.<\/li>\n\n\n\n<li>OpenAI will immediately generate an API secret key. <strong>Copy the key before closing this window.<\/strong><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For security reasons, OpenAI will not display the secret key again after it has been created. If the key is lost, a new one must be generated. Service-account keys are scoped to the project in which they are created. <a href=\"https:\/\/help.openai.com\/en\/articles\/9186755-managing-projects-in-the-api-platform?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">If You Cannot Create a Service Account<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Only users with the appropriate organization or project-owner permissions can create service accounts. <a href=\"https:\/\/help.openai.com\/en\/articles\/9186755-managing-projects-in-the-api-platform?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ask your OpenAI administrator:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u201cPlease create a service account in our OpenAI API project for SecureDB and provide the API key through an approved secure method.\u201d<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">Do not send API keys through ordinary email or chat unless your organization&#8217;s security policy specifically allows it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Connect the API Key to SecureDB<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After creating the service-account key:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to <strong>SecureDB<\/strong>.<\/li>\n\n\n\n<li>Navigate to <strong>Administration \u2192 Company Setup<\/strong>.<\/li>\n\n\n\n<li>Locate the <strong>OpenAI API Key<\/strong> field.<\/li>\n\n\n\n<li>Paste the new Service Account API key into the field.<\/li>\n\n\n\n<li>Save the Company Setup changes.<\/li>\n\n\n\n<li>Open the <strong>AI Assistant<\/strong> and perform a simple test to confirm the connection is working.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Replacing an Existing API Key<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If an OpenAI API key has already been configured, SecureDB will display only a masked version of the existing key.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You do <strong>not<\/strong> need to remove the previous key before replacing it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply paste the new API key into the <strong>OpenAI API Key<\/strong> field and save your changes. SecureDB will securely replace the previous stored key with the new one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your organization already has AI Assistant Knowledge Base documents, SecureDB will use the new OpenAI connection for the associated OpenAI file and knowledge-base resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">API Billing<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">OpenAI API billing is separate from ChatGPT subscriptions and ChatGPT workspace billing. Your company&#8217;s OpenAI API organization must have API billing configured for API requests to operate successfully. <a href=\"https:\/\/help.openai.com\/en\/articles\/9039756?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the new key is accepted but SecureDB&#8216;s AI features return billing or quota errors, have an OpenAI organization owner review the organization&#8217;s <strong>Billing<\/strong>, <strong>Usage<\/strong>, and <strong>Limits<\/strong> settings. <a href=\"https:\/\/help.openai.com\/en\/articles\/6614457-troubleshooting-api-usage-and-spend-limits?utm_source=chatgpt.com\">OpenAI Help Center<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Security Recommendations<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use a company-owned <strong>service account<\/strong> rather than an individual employee&#8217;s personal API key.<\/li>\n\n\n\n<li>Never place an API key in documentation, screenshots, email, or unsecured messaging.<\/li>\n\n\n\n<li>Copy the service-account secret when it is generated and store it securely.<\/li>\n\n\n\n<li>If a key is compromised, revoke it in the OpenAI Platform and generate a replacement.<\/li>\n\n\n\n<li>Remove or revoke obsolete employee-owned API keys after the SecureDB connection has been successfully migrated.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-1024x512.png\" alt=\"\" class=\"wp-image-20638\" style=\"width:720px;height:auto\" srcset=\"https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-1024x512.png 1024w, https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-300x150.png 300w, https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-768x384.png 768w, https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-868x434.png 868w, https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27-980x490.png 980w, https:\/\/securedb.io\/kb\/wp-content\/uploads\/KB-Article-Images-27.png 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For assistance or further questions, please contact our Support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using a service account API key is essential for security and consistent access to your entire workspace, ensuring all meeting notes and data are captured effectively.<\/p>\n","protected":false},"author":2,"featured_media":18589,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_helpful_status":1,"footnotes":""},"categories":[36],"tags":[180,172],"class_list":["post-18588","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-admin","tag-api","tag-company-setup"],"wps_subtitle":"Setting Up Your OpenAPI Service Account Key","_links":{"self":[{"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/posts\/18588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18588"}],"version-history":[{"count":6,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/posts\/18588\/revisions"}],"predecessor-version":[{"id":21205,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/posts\/18588\/revisions\/21205"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=\/wp\/v2\/media\/18589"}],"wp:attachment":[{"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/securedb.io\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}