You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update load-custom-managed-component.md to include the worker prefix (cloudflare#12800)
* Update load-custom-managed-component.md to include the worker prefix
* Update load-custom-managed-component.md to include hyphen in prefix
* Small edit to re-trigger Compiles
---------
Co-authored-by: Kody Jackson <[email protected]>
Copy file name to clipboardExpand all lines: content/zaraz/advanced/load-custom-managed-component.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,8 @@ export default async function (manager) {
44
44
## Deploy a Managed Component to Cloudflare
45
45
46
46
1. Open a terminal in your Managed Component’s root directory.
47
-
2. From there, run `npx managed-component-to-cloudflare-worker ./index.js my-new-counter-mc`, which will deploy the Managed Component to a specialized Cloudflare Worker. Change the path to your `index.js`. You can also rename the Component if you choose.
48
-
3. Your Managed Component should now be [visible on your account](https://dash.cloudflare.com/redirect?account=/workers-and-pages) as a Cloudflare Worker prefixed with `custom-mc`.
47
+
2. From there, run `npx managed-component-to-cloudflare-worker ./index.js my-new-counter-mc`, which will deploy the Managed Component to a specialized Cloudflare Worker. Change the path to your `index.js`. You can also rename the Component.
48
+
3. Your Managed Component should now be [visible on your account](https://dash.cloudflare.com/redirect?account=/workers-and-pages) as a Cloudflare Worker prefixed with `custom-mc-`.
49
49
50
50
## Configure a Managed Component in Cloudflare
51
51
@@ -56,7 +56,7 @@ As with regular tools, it is recommended that you [create the triggers](/zaraz/g
56
56
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account and domain.
3. Select **Add new tool** and choose **Custom Managed Component** from the tools library page. Select **Continue** to confirm your selection.
59
-
4. In **Select Custom MC**, choose a Custom Managed Component that you have deployed to your account, such as `my-new-counter-mc`. Select **Continue**.
59
+
4. In **Select Custom MC**, choose a Custom Managed Component that you have deployed to your account, such as `custom-mc-my-new-counter-mc`. Select **Continue**.
60
60
5. In **Permissions**, select the permissions you want to grant the Custom Managed Component. If you run an untrusted Managed Component, pay close attention to what permissions you are granting. Select **Continue**.
61
61
6. In **Set up**, configure the settings for your new tool. The information you need to enter will depend on the code of the Managed Component. You can add settings and default fields, as well as use [variables you have previously set up](/zaraz/get-started/create-variables/).
0 commit comments