# Web Search BETA
> [!WARNING]
> You will need a Credit Card for the FREE API access.
> [!IMPORTANT]
> We are exploring other search backends that don’t require such a process to get a key.
> Brave search was built in to llama 3.1 by Meta which is why we started with this. (Stay posted)
> [!NOTE]
> Join the search for the best system prompt in our Discord thread.
> [Web-Search-Beta-Release-Prompt-Engineering](https://discord.com/channels/1076964370942267462/1266166982873452566)
> "The only good bug is a dead reported one!" Join the fight in this discussion.
> [Web-Search-Beta-Release-Bugs](https://github.com/nomic-ai/gpt4all/discussions/2738)
## Steps to setup
[1.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#1) Install via the beta release located here: [v3.1.0-web_search_beta](https://github.com/nomic-ai/gpt4all/releases/tag/v3.1.0-web_search_beta)
[2.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#2) Sign up for a free Brave search AI API Key: https://brave.com/search/api/
Jump straight to [Get started for FREE](https://api.search.brave.com/register) <<<< Click here to jump in!


[3.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#3) Ensure you verify your email. Then "login".

[4.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#4) At the Welcome screen you first need a free "subscription". (Credit Card Required)

[5.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#5) Choose Data for AI then "Free AI" and click (Subscribe) at the bottom.

[6.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#6) Next we add an API key, click this button (+ Add API key).

[7.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#7) Name it GPT4All then select the "Free AI" option.

[8.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#8) Copy the newly created key by clicking "copy"

[9.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#9) Paste this key in the Tools Settings in GPT4All

[10.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#10) Download the Llama 3.1 8B Instruct model provided here, if you don't have it already.

[11.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#11) Copy the following system prompt for the brave api access.
```
<|start_header_id|>system<|end_header_id|>
Environment: ipython
Tools: brave_search
Cutting Knowledge Date: December 2023
Today Date: 25 Jul 2024
You are a helpful assistant.<|eot_id|>
```
[12.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#12) Paste this into the model settings for the system prompt.

Do not set the context larger than 8192. (full rope scaling is coming soon)

[13.](https://github.com/nomic-ai/gpt4all/wiki/Web-Search-Beta-Release#web-search-beta#13) Go to the chat view and load the Llama 3.1 8B Instruct model and type in:
`Search the web and tell me who the 44th president of the United States was`
You should see this:
Enjoy and let us know of any problems or feedback on discord - https://discord.com/invite/4M2QFmTt2k