> For the complete documentation index, see [llms.txt](https://gpt-protocol.gitbook.io/gpt-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gpt-protocol.gitbook.io/gpt-protocol/2.-products/2.1-gpt-assistant-your-ai-companion/2.1.4-installation-and-setup.md).

# 2.1.4 Installation and Setup

**Preparation**: Ensure all necessary software, such as Node.js, is installed. Clone the GPT Assistant GitHub repository.

**Environment Configuration**: Edit the `.env.local` file to include essential parameters like database URLs and API keys. This step is vital for connecting to MongoDB and integrating with various APIs.

**Running the Application**: Execute `npm install` to install dependencies, followed by `npm run dev` to start the application. Check for any errors during startup and ensure the application is running correctly.
