# Generate Code

1. You can start generating code using one of the following options:
   1. Run the `Privy: Generate Code 💬` command from the command palette.
   1. Use the "Generate Code" toolbar button in the side panel.
   1. Use the keyboard shortcut: `Ctrl + Cmd + G` (Mac) or `Ctrl + Alt + G` (Windows / Linux).
2. Describe what you want to generate in the new conversation thread in the Privy sidebar panel. Privy will generate code for you based on your description. Further messages can be used to refine the generated code.
