Skip to content

Commit

Permalink
docs: update document website
Browse files Browse the repository at this point in the history
  • Loading branch information
EINDEX committed Sep 16, 2024
1 parent f5e898b commit 7ab49c4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ sidebar_position: 3
### Seting Authorization Token

1. Go to logseq copilot tool bar, Click `API` icon.
![click api button](/img/screenshots/click-api-button.png)
![click api button](/img/screenshots/click-api-button.png)

2. Click `Authorization tokens`.
![open authorization tokens](/img/screenshots/open-auth-tokens.png)

![open authorization tokens](/img/screenshots/open-auth-tokens.png)

3. Click `Add new token`.
![click add new token](/img/screenshots/click-add-new-token.png)
![click add new token](/img/screenshots/click-add-new-token.png)

4. You will see a row as below.
![empty auth tokens](/img/screenshots/empty-authorization-tokens.png)
![empty auth tokens](/img/screenshots/empty-authorization-tokens.png)

5. Fill name as `logseq-copilot`, value is a secret, eg. `secret-value`, then click `Save`.
![fill auth token](/img/screenshots/fill-auth-token.png)
![fill auth token](/img/screenshots/fill-auth-token.png)

:::info
The `value` of `Authorization token` is a secret string, suggest to setting like a random string.
Expand All @@ -41,6 +42,7 @@ The `value` of `Authorization token` is a secret string, suggest to setting like
![click api button](/img/screenshots/click-api-button.png)

2. Click `Server configurations`.

![click server configurations](/img/screenshots/click-server-configurations.png)

3. Toggle on `Auto start server with the app launched`.
Expand All @@ -54,6 +56,7 @@ The `value` of `Authorization token` is a secret string, suggest to setting like
![click api button](/img/screenshots/click-api-button.png)

2. Click `Start Server`.

![click start server](/img/screenshots/click-start-server.png)

### Check Server is started
Expand All @@ -62,6 +65,7 @@ The `value` of `Authorization token` is a secret string, suggest to setting like
![click api button](/img/screenshots/click-api-button.png)

2. If you see something like below, your `API` server is setting correct.

![check api server panel](/img/screenshots/success-enable-api-server.png)

## Setting up Browser Extension
Expand Down

0 comments on commit 7ab49c4

Please sign in to comment.