# Enabling the OpenAI Integration



{% hint style="info" %}
This feature is in an experimental phase and could undergo many changes throughout the development of the app.
{% endhint %}

Currently, you as an user have a choice about whether or not to use the AI features. By default, the AI is disabled, so in order to enable it, you need to obtain an API key from OpenAI. Then, you just need to insert it in your Account's Settings page (in the OpenAI Integration section). **The key is stored in your browser's local storage**, which means that if you uninstall your browser, or even clear your data, the key is gone with it. All requests made to OpenAI are also sent directly to their service and does not hit CareerBldr's premises at all.

{% hint style="info" %}
We are currently working on changing this and enabling the **AI resume generation assistance by default**, and we estimate that we will have this done by the end of this quarter, Q1 2024.
{% endhint %}

Furthermore, you are free to turn off all AI features (and not be aware of them being a part of the resume building experience) simply by not adding a key in the Settings page, and still make use of all the useful features that CareerBldr's resume generator has to offer. Also, one thing you can do for now is to just generate content for your resume from an AI of your preference: be it ChatGPT, Bard, Grok or so on, and then simply copy it to CareerBldr's online resume builder's interface.

### How to get an OpenAI API key?

Firstly, create an account on OpenAI if you don't already have one. For the purposes of being brief, we'll not go over how to set up an OpenAI account. There should be enough guides on the internet to do this, so please consult them.

{% hint style="info" %}
Note. OpenAI might ask you for your credit card information depending on where you are located, or if you already have an account.
{% endhint %}

Head over to the OpenAI Platform page at [https://platform.openai.com/apps](https://platform.openai.com/apps) and click on the API section.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwXuoRpUFoheTfcsuvMeO%2Fuploads%2FM2TNyZiV1oEBULmOUi4b%2Fopenapi-create.png?alt=media&#x26;token=3c6fcfc9-615a-444a-9d22-5b3a792fffe1" alt=""><figcaption></figcaption></figure>

Now, head over to the API Keys page at [https://platform.openai.com/api-keys](https://platform.openai.com/api-keys) on the left navigation where you can manage all your API keys and click on the link that says "Create a new secret key". You can call the key anything you want, but it helps to name it after the application you are going to use the specific key for.

<figure><img src="https://1813703943-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpshuCiHVtGVkinWchwzZ%2Fuploads%2FaNsB4BxIYjc0USLf5SJV%2Fcreate-new-secret-key.jpg?alt=media&#x26;token=1552dbda-4fb2-41b9-b192-1c5d1dc48897" alt=""><figcaption></figcaption></figure>

Once you click on "Create secret key", you should be presented with an API key that you can now use in CareerBldr. The key would only be visible to you once, so make sure you store it somewhere safe at this screen.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwXuoRpUFoheTfcsuvMeO%2Fuploads%2Fgtse4dOeR9QbJvg5Xunu%2Fexample-api-key.webp?alt=media&#x26;token=321f5d32-3701-4be0-9f92-c1eaf0f0b136" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The secret key in the screenshot would be disabled by the time you read this, so there's no point in trying to use this one. It's pretty straightforward to create one on your own and it shouldn't cost you unless you go over the Free Credits Limit.
{% endhint %}

Your key should begin with `sk-`, this is how CareerBldr validates that the key is indeed an OpenAI API key.

### Enabling OpenAI in CareerBldr

Once you have the secret key from OpenAI, head over to the settings page in CareerBldr, and to the sub-section named "OpenAI Integration".

Here, you can enter the API key provided, and click on "Store Locally".

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwXuoRpUFoheTfcsuvMeO%2Fuploads%2F1kelE4GLp6NeOBU95Otl%2Fopenai-section.webp?alt=media&#x26;token=f9157605-428e-484e-9e8c-d64872bcaf53" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Your API key is securely stored in the browser's local storage and is only utilized when making requests to OpenAI via their official SDK. Rest assured that your key is not transmitted to any external server except when interacting with OpenAI's services.
{% endhint %}

Now, you should be able to see some new sections pop up in the CareerBldr screen where you can take advantage of all the one-click AI actions.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwXuoRpUFoheTfcsuvMeO%2Fuploads%2FU7aQhMotuRB77iKA4osN%2Fopenai-example-guide.png?alt=media&#x26;token=1c3b8af3-d3eb-4e84-91d3-e8e6ae517d3d" alt=""><figcaption></figcaption></figure>

And that's it! As mentioned in the beginning, expect this functionality to change rapidly, as we are actively working on improving it. Have fun!
