Skip to content

Commit ebdcdab

Browse files
authored
Merge pull request #87 from epilot-dev/docs/new-blueprints
Docs/new blueprints
2 parents 73f9ff4 + 7ab272e commit ebdcdab

44 files changed

Lines changed: 405 additions & 87 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎README.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ When documenting your APIs, it's possible to perform changes and eval how they l
2121

2222
For that, all you need to do is follow the instructions below:
2323

24-
1. Point your API spec on the file `docusaurus.config.js` to your localhost: `http://localhost:3001/openapi.json`
25-
2. `npm dev` to run the docs portal locally
26-
3. `npm run swagger-ui:watch` to serve your api docs locally on your API project
27-
4. Finally to bypass CORS you will want to get this Chrome [extension](https://chrome.google.com/webstore/detail/moesif-origin-cors-change/digfbfaphojjndkpccljibejjbppifbc)
24+
1. `DOCS_URL=http://localhost:3001/ npm run dev` to run the docs portal locally
25+
2. `npm run swagger-ui:watch` to serve your api docs locally on your API project
26+
3. Finally to bypass CORS you will want to get this Chrome [extension](https://chrome.google.com/webstore/detail/moesif-origin-cors-change/digfbfaphojjndkpccljibejjbppifbc)
2827

2928
When you are done, just deploy your `openapi.yml` as you normally would. And don't forget to update your client sdk [here](https://github.com/epilot-dev/sdk-js).
Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
---
2+
sidebar_position: 3
3+
title: Editing and synchronizing
4+
hide_title: true
5+
---
6+
7+
## Editing Blueprints
8+
9+
After installation or creation, Blueprints can be adjusted. All changes are applied directly within the Blueprint overview.
10+
11+
---
12+
13+
### Changing Blueprint name
14+
15+
To change a Blueprint’s name, hover over it, click the pen icon, enter the new name, and confirm by clicking the checkmark icon.
16+
17+
![Edit Blueprint name](/img/blueprints/3-edit-blueprint-name.png)
18+
19+
---
20+
21+
### Adding Resources
22+
23+
- Click the **“Ressource hinzufügen”** button on the left.
24+
25+
- Follow the procedure for adding a resource, the same as when creating a Blueprint.
26+
27+
- For detailed instructions, see [Creating a Blueprint](/docs/blueprints/installing-a-blueprint#creation-of-custom-blueprint).
28+
29+
30+
![Resources toc](/img/blueprints/3-resources-toc.png)
31+
32+
### Removing Resources
33+
34+
- In the Blueprint overview, select the resources you want to remove.
35+
36+
- Click **“Delete from this Blueprint”** to remove them.
37+
38+
:::info
39+
40+
Note: Resources removed from the Blueprint still exist in your organization. They are simply no longer a part of this Blueprint.
41+
42+
:::
43+
44+
![Remove resource](/img/blueprints/3-remove-resource.png)
45+
46+
---
47+
48+
### Actions
49+
50+
Blueprints offer a set of actions that allow you to manage and share them efficiently. The available actions can be accessed from the **top-right navbar** of the Blueprint overview.
51+
52+
![Actions](/img/blueprints/3-actions.png)
53+
54+
---
55+
56+
### Synchronize with another organization
57+
58+
- Transfer the Blueprint and its resources to other organizations you are associated with.
59+
60+
- For detailed instructions, see [Synchronizing Blueprints](#synchronizing-your-blueprint-with-another-org).
61+
62+
---
63+
64+
### Download
65+
66+
- Download the Blueprint by selecting **Actions → Download** in the top-right navbar and confirming the operation.
67+
68+
:::info
69+
70+
Note: This function is only available for custom Blueprints, not for those installed from the Marketplace.
71+
72+
:::
73+
74+
![Download](/img/blueprints/3-blueprint-download.png)
75+
76+
---
77+
78+
### Delete
79+
80+
- Remove the Blueprint by selecting Actions → Delete in the top-right navbar and confirming.
81+
82+
:::info
83+
84+
Note: Deleting a Blueprint does **not** delete the underlying resources in your organization. It only removes the grouping of those resources as part of the Blueprint.
85+
86+
:::
87+
88+
![Delete](/img/blueprints/3-blueprint-delete.png)
89+
90+
---
91+
92+
## Synchronizing your blueprint with another org
93+
94+
When a Blueprint has been created or installed in your sandbox, you can synchronize it with other organizations you are associated with. Synchronization means transfering configuration elements (resources) —such as journeys, automations, products, workflows, and entity schemas—from one tenant to another.
95+
96+
On the **Blueprints tab** all the Blueprints available in your organisation: both created and installed from a Marketplace, are listed in the “Blueprints” tab. The label in “Source” column will help you understand where each Blueprint is coming from.
97+
98+
![Installed blueprints tab](/img/blueprints/3-installed-blueprints-tab.png)
99+
100+
Clicking a table item opens a detailed view of the resources included in the Blueprint.
101+
102+
This page also allows you to easily manage all the resources involved with your blueprint.
103+
104+
![Installed blueprint page](/img/blueprints/3-installed-blueprint-page.png)
105+
106+
As of now, those resources only exist on the current **sandbox organization**, but after you are happy with the configuration, you can easily “[sync](#synchronizing-your-blueprint-with-another-org)” this blueprint with another org (typically, the associated **production organization**).
107+
108+
This will create a copy of this blueprint, together with the current state of each resource, and apply them on the selected destination org.
109+
110+
---
111+
112+
### The Synchronization Process
113+
114+
The process will look similar to the [blueprint installation process](/docs/blueprints/installing-a-blueprint):
115+
116+
Click on **“Actions → Synchronize”** on the top right corner.
117+
118+
![Actions](/img/blueprints/3-actions.png)
119+
120+
You will be directed to a screen that allows to select the destination org you wish to synchronize to, meaning - where do you wish to transfer your Blueprint to.
121+
122+
![Switch org screen](/img/blueprints/3-switch-org-screen.png)
123+
124+
Select your production org and click on “**Continue**”.
125+
126+
![Switch org screen selector](/img/blueprints/3-switch-org-screen-selector.png)
127+
128+
Now we will prepare the resources of your blueprint for synchronization.
129+
130+
Depending on the amount of resources, this may take from 1~5 min, after which you can click on “**Continue to destination organization**”.
131+
132+
![Continue to destination](/img/blueprints/3-continue-to-destination.png)
133+
134+
---
135+
136+
### Switching to the destination org
137+
138+
You will be prompted to switch the **destination org** to finish the syncing process, just click continue and you will be redirected there.
139+
140+
![Destination modal](/img/blueprints/3-destination-modal.png)
141+
142+
---
143+
144+
### Reviewing the resources impact
145+
146+
147+
Now on the destination org, you will be able to review the impact that this blueprint will have on the resources of this org, just like in the [blueprint installation process](/docs/blueprints/installing-a-blueprint).
148+
149+
Just click on “See resources with their impact” to review it.
150+
151+
152+
You will see what will be created denoted by **New**, and if some of those resources are already present on the destination org (that will happen if it’s not the first time syncing the blueprint), you will see either **No changes**, “**Update**" or “**Delete**".
153+
154+
![Resources impact](/img/blueprints/3-resources-impact.png)
155+
156+
If everything is as expect you can now click on “Synchronize Blueprint” to finish the process.
157+
158+
159+
---
160+
161+
And that’s it!
162+
You will be presented with the success page of the synchronization process, which will give you a link to see the instance of your blueprint in this destination org!
163+
164+
![Sync complete screen](/img/blueprints/3-sync-complete-screen.png)
165+
166+
You successfully synchronized your sandbox blueprint to your production org!
167+
168+
---
169+
170+
### Further editing the blueprint
171+
172+
Now you are able to edit and manage your Blueprint, for more details [click here](#editing-blueprints).
173+
174+
After that, if you need, you can sync those changes back to the sandbox.
175+
176+
For that, just repeat this process, but this time, starting from the blueprint overview page of the destination org.
177+
178+
:::info
179+
180+
We recommend experimenting with changes in the Sandbox and syncing to Production only when you are satisfied with the setup.
181+
182+
:::
183+
184+
185+
![Installed blueprint page](/img/blueprints/3-installed-blueprint-page.png)
186+
187+
188+
That also counts for the blueprint back in the sandbox: you can go back and continue to make changes and experiment by adding, removing or editing resources. Those changes will only be present on your sandbox until you click on “**Actions → Synchronize**” again.

‎docs/blueprints/installing-a-blueprint.md‎

Lines changed: 116 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,137 @@ title: Installing a Blueprint
44
hide_title: true
55
---
66

7-
## Installing a Blueprint
7+
8+
9+
## Installation from Marketplace
810

911
:::info
1012

1113
Blueprints are currently in closed **BETA** only available to selected customers.
1214

1315
:::
1416

15-
To manage and install Blueprints, navigate to the [Configuration > Blueprints](https://portal.epilot.cloud/app/blueprints) in the epilot portal.
17+
To install a blueprint from the Marketplace navigate to [Configuration → Blueprints → Marketplace tab](https://portal.epilot.cloud/app/blueprints).
18+
19+
Here you can search and discover blueprints tailored for common use cases, based on our experience in the energy market.
20+
21+
After finding the one that fits your business, click on “Install now”.
22+
23+
:::info
24+
25+
Installation of a Marketplace Blueprint is possible only in a Sandbox testing environment. If you don’t have a sandbox yet, check the [Sandbox documentation](/docs/blueprints/intro#sandbox).
26+
27+
:::
28+
29+
30+
![Portal Marketplace Page](/img/blueprints/2-portal-marketplace.png)
31+
32+
33+
You have two options of installation:
34+
35+
- [One-click Install](/docs/blueprints/installing-a-blueprint#one-click-install)
36+
- [Advanced Install](/docs/blueprints/installing-a-blueprint#advanced-install)
37+
38+
![Step 2](/img/blueprints/2-one-click-installation.png)
39+
40+
---
41+
42+
### One-click install
43+
44+
After choosing “One-click install” the installation process will start automatically.
45+
46+
Depending on the number of resources included in the chosen blueprint the installation may take up to 5 min.
47+
48+
![Step 3](/img/blueprints/2-one-click-step-3.png)
49+
50+
And that’s it! You successufuly installed a blueprint from the marketplace. Check out [Post-Installation Configuration](#post-installation-configuration) on how to configure the installed resources.
1651

17-
![Blueprints](/img/blueprints/installed-blueprints.png)
1852

19-
To install a new Blueprint, click on "Install Blueprint" and choose the source for your Blueprint.
53+
Next, you can [edit it](/docs/blueprints/editing-and-synchronizing#editing-blueprints), or [synchronize with another organization](/docs/blueprints/editing-and-synchronizing#synchronize-with-another-organization) — click on the relevant sections links for more details.
54+
55+
![Installation Complete](/img/blueprints/2-one-click-complete.png)
56+
57+
---
58+
59+
### Advanced install
2060

21-
1. If you already have a Blueprint zip file, you can choose *Upload File*
22-
1. Choose "Marketplace" to pick a Blueprint from the [epilot Marketplace](https://marketplace.epilot.cloud).
23-
1. Or if you wish to copy resources from another epilot organization, you can choose *"Sandbox"*.
61+
If “Advanced Install” is chosen, you will have a fine control on which resources from a blueprint should be installed.
2462

25-
![Install Blueprint](/img/blueprints/install-blueprint.png)
63+
To remove a resource, uncheck an item and click on “Update installation”.
64+
65+
66+
![Pick resources](/img/blueprints/2-advanced-pick-resources.png)
67+
68+
When done selecting resources, click on “Install resources” to continue, the installation will proceed automatically from here.
69+
70+
And that’s it! You successufuly installed a blueprint from the marketplace. Check out [Post-Installation Configuration](#post-installation-configuration) on how to configure the installed resources.
71+
72+
Next, you can [edit it](/docs/blueprints/editing-and-synchronizing#editing-blueprints), or [synchronize with another organization](/docs/blueprints/editing-and-synchronizing#synchronize-with-another-organization) — click on the relevant sections links for more details.
73+
74+
![Installation Complete](/img/blueprints/2-advanced-complete.png)
75+
76+
---
2677

27-
After picking a blueprint from your source, epilot will show a preview (plan) of what will get added or changed in your organization as part of the Blueprint.
78+
## Post-Installation Configuration
2879

29-
**Note that at this point, no changes will be made to your organization and you can still review the Blueprint before installing it!**
80+
After a Blueprint is installed, some resources may still require additional setup before they can be fully used. In the list view, these resources appear with the **“Ready to use” toggle switched off**. You can also filter the list to quickly see which items are not yet marked as ready.
3081

31-
After you have reviewed the changes, click on *Import Resources* to start the Blueprint installation.
82+
- In the list view, click the link next to the toggle to open a resource in a new tab.
3283

33-
![View Plan Step](/img/blueprints/view-plan.png)
84+
- Define and save any changes needed for the resource.
3485

35-
The installation will take up to a few minutes to complete.
86+
- Return to the Blueprint overview and toggle the resource as ready to use.
3687

37-
After the installation is complete, you will see a list of all the resources that were installed, and can click on each one to view the details and edit the configuration.
88+
- Marking a resource as ready is optional and is meant to help you keep track of configuration progress.
3889

39-
We recommend that you test the Blueprint in a sandbox environment before installing it in your production organization.
90+
91+
![Resource toggle](/img/blueprints/2-resource-toggle.png)
92+
93+
94+
---
95+
96+
## Creation of Custom Blueprint
97+
98+
Besides installing a blueprint from marketplace, you are also able to create your own Blueprints.
99+
100+
With **Custom Blueprints** you can combine available resources to create your own Blueprint. With that you are able to:
101+
102+
- Organize use-cases
103+
104+
- Test combination of resoures on a sandbox
105+
106+
- Share your use-case with other orgs
107+
108+
---
109+
110+
To create a **Custom Blueprint**, go to Configuration → Blueprints and select the tab “Blueprints”.
111+
112+
On the bottom you will see “Create Blueprint”, click on it to start the creation process.
113+
114+
You will be presented with a screen that allows you to select Resources to include in your Custom Blueprint.
115+
116+
Click on “Add resources” to continue.
117+
118+
119+
![Create blueprint](/img/blueprints/2-create-blueprint.png)
120+
121+
122+
You will be presented with a list of categories of resources, select one to continue.
123+
124+
After, select the specific resources on that category you wish to include, here we are adding a single Product.
125+
126+
:::info
127+
128+
Note: A resource will be added together with any other resources linked to it.
129+
130+
:::
131+
132+
133+
![Add resources](/img/blueprints/2-add-resource-side-panel.png)
134+
135+
136+
That’s it! You successfully created your own Blueprint!
137+
138+
You will be redirected to the resources view of this blueprint in there you are able to further edit it, [see more](/docs/blueprints/editing-and-synchronizing#editing-blueprints).
139+
140+
---

0 commit comments

Comments
 (0)