diff --git a/docs/recipes/embed-catalog.mdx b/docs/recipes/embed-catalog.mdx index 0ff2a3d4a..ea4fd1dd4 100644 --- a/docs/recipes/embed-catalog.mdx +++ b/docs/recipes/embed-catalog.mdx @@ -2,4 +2,69 @@ title: "Frontend Widget" description: "" icon: "square-terminal" ---- \ No newline at end of file +--- + +**insert**video + +# Step 1: Import the code snippet + + + ```shell React + npm i @panora/embedded-card-react + ``` + + + + By default, all connectors are rendered but you have the option to use the + `category` prop to filter them by category. Learn more about values accepted + [here](/glossary/metadata/category). + + +#### Import a single connector card + + + ```javascript React + import "@panora/embedded-card-react/dist/index.css"; + import PanoraProviderCard from "@panora/embedded-card-react"; + + const MyPage = () => { + return ( + + ) + } + ``` + +#### Import the whole connector catalog + + ```javascript React + import "@panora/embedded-card-react/dist/index.css"; + import PanoraDynamicCatalog from "@panora/embedded-card-react"; + + const MyPage = () => { + return ( + + ) + } + ``` + + +Congrats ! You should be able to see the displayed connectors ! + +# Step 2 (optional): Select your own connectors + +**insert**video + +You have the ability to choose which connectors will be rendered (also applied to magic-link). + +Go to _Manage Catalog Widget_ [section](https://dashboard.panora.dev/configuration), locate the connector you wish to add/remove and switch it on/off. diff --git a/docs/recipes/import-existing-users.mdx b/docs/recipes/import-existing-users.mdx index b9c7284b4..817ae767f 100644 --- a/docs/recipes/import-existing-users.mdx +++ b/docs/recipes/import-existing-users.mdx @@ -30,7 +30,7 @@ icon: "users" This code adds a single/batch of linked accounts inside Panora. It helps us have an exact mapping of your existing users insdie our system. - + ```shell Import a single existing user curl --request POST \ --url https://api.panora.dev/linked-users \