Skip to content

Commit 4e17961

Browse files
committed
docs: enhance migration guide with detailed variable creation steps for Azion Console and API
1 parent 6254255 commit 4e17961

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

src/content/docs/en/pages/guides/cloudflare-to-azion/cf-to-azion-comprehensive-guide.mdx

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,26 @@ Before changing code, identify every variable in:
220220

221221
### Create Variables in Azion
222222

223-
Via Console:
224-
225-
```
226-
Build > Variables > Add Variable
227-
```
228-
229-
Via API:
223+
<Tabs client:visible>
224+
<Fragment slot="tab.console">Console</Fragment>
225+
<Fragment slot="tab.api">API</Fragment>
226+
227+
<Fragment slot="panel.console">
228+
1. Access [Azion Console](https://console.azion.com/).
229+
2. Navigate to **Build > Variables**.
230+
3. Click **Add Variable**.
231+
4. Enter the variable name and value.
232+
5. Click **Save**.
233+
</Fragment>
230234

235+
<Fragment slot="panel.api">
231236
```bash
232237
curl -X POST 'https://api.azionapi.net/v4/variables' \
233238
--header 'Authorization: Token YOUR_TOKEN' \
234239
--data '{"name": "API_KEY", "value": "your-secret-key"}'
235240
```
241+
</Fragment>
242+
</Tabs>
236243

237244
### Update Your Code
238245

0 commit comments

Comments
 (0)