Skip to content

Commit f7c781c

Browse files
authored
Fix run commands on the Contextual Access examples page (#1085)
Fix example run commands and typos on the contextual access examples page
1 parent c347e91 commit f7c781c

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

  • app/en/guides/contextual-access/examples

‎app/en/guides/contextual-access/examples/page.mdx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Running a Server"
33
description: "Run open-source example webhook servers to get started with Contextual Access"
44
---
55

6-
# Running an Server
6+
# Running a Server
77

88
The fastest way to get started with Contextual Access is to run one of the open-source example servers. These are example Go implementations you can use as-is or as a starting point for your own server.
99

@@ -43,7 +43,7 @@ cd logic-extensions-examples/
4343
**Advanced server (with web dashboard):**
4444

4545
```bash
46-
go run ./examples/contextual_access/advanced_server -config ./examples/advanced_server/example-config.yaml
46+
go run ./examples/contextual_access/advanced_server -config ./examples/contextual_access/advanced_server/example-config.yaml
4747
```
4848

4949
**Focused examples:**
@@ -56,24 +56,24 @@ go run ./examples/contextual_access/pii_redactor -types "email,ssn,credit_card"
5656
go run ./examples/contextual_access/user_blocking -block "user1,user2"
5757

5858
# Content filter (access, pre, post)
59-
go run ./examples/contextual_access/content_filter -config ./examples/content_filter/example-config.yaml
59+
go run ./examples/contextual_access/content_filter -config ./examples/contextual_access/content_filter/example-config.yaml
6060

6161
# A/B testing (pre-hook)
62-
go run ./examples/contextual_access/ab_testing -config ./examples/ab_testing/example-config.yaml
62+
go run ./examples/contextual_access/ab_testing -config ./examples/contextual_access/ab_testing/example-config.yaml
6363

6464
# Basic rules (all hooks, configurable via YAML)
65-
go run ./examples/contextual_access/basic_rules -config ./examples/basic_rules/example-config.yaml
65+
go run ./examples/contextual_access/basic_rules -config ./examples/contextual_access/basic_rules/example-config.yaml
6666
```
6767

6868
Each server exposes `GET /health`, `POST /access`, `POST /pre`, and `POST /post` (or a subset, depending on which hook points it implements).
6969

70-
## Connect to the Arcade
70+
## Connect to Arcade
7171

7272
Once your server is running:
7373

7474
1. Open the **Arcade Dashboard** and navigate to **Contextual Access**
7575
2. Click **Create Extension** and enter your server's base URL and endpoint paths
76-
4. Create **hook configurations** to attach the extension to the hook points you want
76+
3. Create **hook configurations** to attach the extension to the hook points you want
7777

7878
See [How Hooks Work](/guides/contextual-access/how-hooks-work) for details on configuring extensions and hook points.
7979

0 commit comments

Comments
 (0)