Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions src/content/docs/autorag/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ head:
Description: Get started creating fully-managed, retrieval-augmented generation pipelines with Cloudflare AutoRAG.
---

import { DashButton } from "~/components";

AutoRAG allows developers to create fully managed retrieval-augmented generation (RAG) pipelines to power AI applications with accurate and up-to-date information without needing to manage infrastructure.

## 1. Upload data or use existing data in R2
Expand All @@ -21,7 +23,10 @@ Before you create your first bucket, you must purchase R2 from the Cloudflare da

To create and upload objects to your bucket from the Cloudflare dashboard:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/r2) and select **R2**.
1. In the Cloudflare dashboard, go to the **R2** page.

<DashButton url="/?to=/:account/r2/overview" />

2. Select Create bucket, name the bucket, and select **Create bucket**.
3. Choose to either drag and drop your file into the upload area or **select from computer**. Review the [file limits](/autorag/configuration/data-source/) when creating your knowledge base.

Expand All @@ -31,7 +36,10 @@ _If you need inspiration for what document to use to make your first AutoRAG, tr

To create a new AutoRAG:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/ai/autorag) and select **AI** > **AutoRAG**.
1. In the Cloudflare dashboard, go to the **AutoRAG* page.

<DashButton url="/?to=/:account/ai/autorag" />

2. Select **Create AutoRAG**, configure the AutoRAG, and complete the setup process.
3. Select **Create**.

Expand All @@ -49,7 +57,7 @@ To monitor the indexing progress:
Once indexing is complete, you can run your first query:

1. From the **AutoRAG** page in the dashboard, locate and select your AutoRAG.
2. Navigate to the **Playground** page.
2. Navigate to the **Playground** tab.
3. Select **Search with AI** or **Search**.
4. Enter a **query** to test out its response.

Expand Down
10 changes: 7 additions & 3 deletions src/content/docs/autorag/usage/rest-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
WranglerConfig,
MetaInfo,
Type,
DashButton
} from "~/components";

This guide will instruct you through how to use the AutoRAG REST API to make a query to your AutoRAG.
Expand All @@ -22,9 +23,12 @@ This guide will instruct you through how to use the AutoRAG REST API to make a q

You need an API token with the `AutoRAG - Read` and `AutoRAG Edit` permissions to use the REST API. To create a new token:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
2. Go to **AI** > **AutoRAG** and select your AutoRAG.
3. Select **Use AutoRAG** then select **API**.
1. In the Cloudflare dashboard, go to the **AutoRAG** page.

<DashButton url="/?to=/:account/ai/autorag" />

2. Select your AutoRAG.
3. Select **Use AutoRAG** and then select **API**.
4. Select **Create an API Token**.
5. Review the prefilled information then select **Create API Token**.
6. Select **Copy API Token** and save that value for future use.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spotlight:
author_bio_source: LinkedIn
---

import { TabItem, Tabs, WranglerConfig, PackageManagers } from "~/components";
import { TabItem, Tabs, WranglerConfig, PackageManagers, DashButton } from "~/components";

In this tutorial, you will put together a Cloudflare Worker that creates and serves a sitemap using data from [Sanity.io](https://www.sanity.io), a headless CMS.

Expand Down Expand Up @@ -318,17 +318,19 @@ In this step, you will make the Worker available on a new subdomain using a buil

One of the benefits of using a subdomain is that you do not have to worry about this sitemap conflicting with your root domain's sitemap, since both are probably using the `/sitemap.xml` path.

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
1. In the Cloudflare dashboard, go to the **Workers & Pages** page.

2. In Account Home, select **Workers & Pages**, and then select your Worker.
<DashButton url="/?to=/:account/workers-and-pages" />

3. Go to **Settings** > **Triggers** > **Custom Domains** > **Add Custom Domain**.
2. Select your Worker.

3. Go to **Settings** > **Domains & Routes** and select **Add** > ** Custom domain.

4. Enter the domain or subdomain you want to configure for your Worker.

For this tutorial, use a subdomain on the domain that is in your sitemap. For example, if your sitemap outputs URLs like `www.example.com` then a suitable subdomain is `cms.example.com`.

5. Select **Add Custom Domain**.
5. Select **Add domain**.

After adding the subdomain, Cloudflare automatically adds the proper DNS record binding the Worker to the subdomain.

Expand Down
13 changes: 10 additions & 3 deletions src/content/docs/magic-transit/partners/kentik.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ sidebar:

---

import { DashButton } from "~/components";

Kentik is a network observability company that helps detect attacks on your network and triggers Cloudflare's Magic Transit to begin advertisement. Together, Kentik and Magic Transit On Demand work to create a fully SaaS-based, DDoS protection solution to help you mitigate attacks and protect your network automatically.

In this tutorial, the example scenario includes two mitigations, one which pulls the advertisement from the router and a second mitigation that makes an API call to Cloudflare to begin advertising the prefixes from Cloudflare's global network.
Expand Down Expand Up @@ -44,8 +46,11 @@ For additional information about Kentik and Magic Transit, refer to [Kentik's Ma

## Access Cloudflare account

1. Log in to your [Cloudflare account](https://dash.cloudflare.com), and select your account.
2. Select **IP Addresses** > **BYOIP Prefixes**.
1. In the Cloudflare dashboard, go to the **IP Addresses** page.

<DashButton url="/?to=/:account/ip-addresses/proxy-ips" />

2. Select **BYOIP Prefixes**.
3. Referring to the example scenario, the prefix protected by Cloudflare displays a **Withdrawn** status.

After a DDoS attacks occurs, the status changes to **Advertised** which indicates the network is protected.
Expand All @@ -54,4 +59,6 @@ For additional information about Kentik and Magic Transit, refer to [Kentik's Ma

For a detailed view of actions taken and attack types, you can use the **Network Analytics** dashboard. For more information about Network Analytics, refer to [Network Analytics](/analytics/network-analytics/).

From your Cloudflare dashboard, select **Analytics & Logs** > **Network Analytics**.
In the Cloudflare dashboard, go to the **Network Analytics** page.

<DashButton url="/?to=/:account/network-analytics" />
26 changes: 15 additions & 11 deletions src/content/docs/network-interconnect/monitoring-and-alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar:
order: 5
---

import { Render } from "~/components"
import { Render, DashButton } from "~/components"

You can configure notifications for upcoming CNI maintenance events using the Notifications feature in the Cloudflare dashboard. It is recommended to subscribe to two types of notifications to stay fully informed.

Expand All @@ -23,20 +23,24 @@ You can configure notifications for upcoming CNI maintenance events using the No

### Enable CNI Connection Maintenance Alert (beta)

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
2. Go to **Notifications**.
3. Select **Add**.
4. From the product drop-down menu, select **Cloudflare Network Interconnect**.
5. Select **Connection Maintenance Alert**.
6. Give your notification a name and an optional description.
7. Choose your preferred notification method (for example, email address).
8. Select **Save**.
1. In the Cloudflare dashboard, go to the **Notifications** page.

<DashButton url="/?to=/:account/notifications" />

2. Select **Add**.
3. From the product drop-down menu, select **Cloudflare Network Interconnect**.
4. Select **Connection Maintenance Alert**.
5. Give your notification a name and an optional description.
6. Choose your preferred notification method (for example, email address).
7. Select **Save**.

### Enable Cloudflare Status Maintenance Notification

1. First, identify the PoP code for your CNI circuit:
- Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
- Navigate to **Magic Transit / WAN > Configuration > Interconnects**.
- In the Cloudflare dashboard, go to the **Configuration** page in Magic Transit or Magic WAN.
- For Magic Transit: <DashButton url="/?to=/:account/magic-transit/configuration" />
- For Magic WAN: <DashButton url="/?to=/:account/magic-wan/configuration" />
- Select the **Interconnects** tab.
- Select the CNI you want to enable notifications for.
- In the menu that appears, note the Data Center code (for example, `gru-b`).
2. Now, configure the alert:
Expand Down