Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
34 changes: 15 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
# Create devices using dashboard
Using an Input Widget in the dashboard, you will be able to create devices in your account.
# Device Creation via Dashboard
Leverage an Input Widget on the dashboard to facilitate the creation of devices within your account.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leverage is kinda weird here, better to just use: Utilize

You can get the dashboard template to use here: https://admin.tago.io/template/6143555a314cef001871ec78
Access the required dashboard template here: [Dashboard Template](https://admin.tago.io/template/6143555a314cef001871ec78).

Use a dummy HTTPs device with the dashboard.
It's recommended to use a [Database](https://admin.tago.io/connectors/62336c32ab6e0d0012e06c04/62333bd36977fc001a2990c8) connector for the device alongside the dashboard.

## How to use this analysis internally at TagoIO servers
## Implementing This Analysis on TagoIO Servers

In order to use this analysis, you must to add a new policy in your account.<br>
To utilize this analysis within TagoIO, you'll need to incorporate a new policy to your account.

Steps to add a new policy:
### Steps to Incorporate a New Policy:

1 - Click the button "Add Policy" at this url: https://admin.tago.io/am;
1. Navigate to [Add Policy](https://admin.tago.io/am) and click on the "Add Policy" button.
2. In the Target selection area, ensure the field is set to "ID", then select your Analysis from the dropdown list.
3. Click on the "Click to add a new permission" option, choose "Device" as the type, and set the rule to "Access" with the scope as "Any".
4. Finalize by clicking the save button located at the bottom right corner to store your new policy.

2 - In the Target selector, with the field set as "ID", choose your Analysis in the list;
# Executing the Analysis

3 - Click the "Click to add a new permission" element and select "Device" with the rule "Access" with the field as "Any";
To deploy the analysis, you have two options:

4 - To save your new Policy, click the save button in the bottom right corner;<br>

# How to run this analysis
You can just upload the `analysis.js` file.

or

You can run locally, you should have last node version and install all dependencies running `npm install` on your terminal in this project folder,
after that, you can run the project just calling analysis, `node analysis.js`;
- Directly upload the `analysis.js` file.
- For local execution, ensure you have the latest version of Node.js installed. Install all necessary dependencies by running `npm install` in your project directory via the terminal. Subsequently, initiate the analysis using `node analysis.js`.
Loading