top of page

Sitecore JSS Copilot - Setting up the tool locally

  • Writer: Sridharan Padmanabhan
    Sridharan Padmanabhan
  • Dec 3, 2024
  • 1 min read

Updated: Dec 13, 2024


Follow these steps to get your development environment set up:


  1. Clone the repository

  1. Navigate to the project directory

cd SitecoreCodeConversionGenAI
  1. Install dependencies

npm install

Build the project

npm run build
  1. Set up environment variables You can either use OpenAI Gpt-4o or Anthropic Claude 3.5 Sonnet or both, first you need to get API keys for each:

  2. Create a .env.local file in the root directory

  3. Add your Anthropic API key:

ANTHROPIC_API_KEY=your_api_key_here
  1. Add your OpenAI API key:

OPENAI_API_KEY=your_api_key_here

Note: You can get the OpenAI API key from here: https://platform.openai.com/ or Anthropic API key from here: https://console.anthropic.com/


  1. Start the development server

npm run dev
  1. Open http://localhost:3000 in your browser to see the application in action!


ree


 
 
 

Comments


Sitecore with Sri

Sridharan Padmanabhan

  • Instagram
  • LinkedIn
bottom of page