Skip to content

Commit 8333b2a

Browse files
committed
Update docs
1 parent 910b888 commit 8333b2a

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

README.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,22 @@ To run the plain2code client, you need Python 3.11 or a later version.
3131

3232
**Windows users:** Please install WSL (Windows Subsystem for Linux) as this is currently the supported environment for running plain code on Windows.
3333

34-
#### Anthropic API Key
34+
#### Authorization - Codeplain API Key
3535

36-
For now you need to bring your own Anthropic API key to use Codeplain API. If you don't have Anthropic API key, you can create a free developer account at [console.anthropic.com](https://console.anthropic.com/). To experiment with Codeplain you need to top up your Anthropic account with $5-10.
36+
We are using Codeplain API Key to authorize requests to the Codeplain API. To get your Codeplain API Key, please contact Codeplain.ai support at [email protected].
3737

38-
With Anthropic API Key ready, please contact Codeplain.ai support at [email protected] to have the hash of your Anthropic API key added to the list of authorized API keys.
39-
40-
To have the hash generated use the following command:
41-
42-
`python hash_key.py $CLAUDE_API_KEY`
43-
44-
To set up your API key run:
38+
In order to generate code, you need to export the following environment variable:
4539

4640
```bash
47-
# Export API key directly
48-
export CLAUDE_API_KEY="your_actual_api_key_here"
41+
export CODEPLAIN_API_KEY="your_actual_api_key_here"
4942
```
5043

5144
### Installation Steps
5245

5346
1. Clone this repository
5447
2. Set your Codeplain API key as an environment variable:
5548
```
56-
export CLAUDE_API_KEY=your_api_key_here
49+
export CODEPLAIN_API_KEY=your_api_key_here
5750
```
5851
3. (Recommended) Create and activate a virtual environment:
5952
```bash

0 commit comments

Comments
 (0)