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
N-Able themselves have an [offical short guide for doing this we recommend following](https://documentation.n-able.com/N-central/userguide/Content/User_Management/Role%20Based%20Permissions/role_based_permissions_create_APIuser.htm) for this part, but here is a recap:
30
35
31
-
## Create ImmyBot user in N-Central
36
+
1. Create a new "ImmyBot" user in the instance with the "ImmyBot" role applied.
37
+
2. Under "API Access", ensure "Api-Only User" is checked. <u>2FA MUST be disabled for the API User!</u>
38
+
3. Save the new ImmyBot user, and press the "Generate JSON Web Token" button. Copy this value somewhere for later.
32
39
33
-
Create a new "ImmyBot" user in the instance with the "ImmyBot" role applied.
## Login to the new ImmyBot user to get MFA code and accept EULA
41
+
## Add the necessary 'RunScript' Automation Policy
38
42
39
-
Once you have created the new ImmyBot user account, you must attempt to login
40
-
so that you may retrieve the MFA key, and complete any initial setup.
41
-
After entering the accounts email and password, there will be a MFA QR code displayed.
42
-
You MUST press the "CAN'T SCAN IT?" button to get the Base32-encoded MFA key.
43
-
After saving the key, use [a site such as this](https://totp.danhersam.com/?period=30&digits=6) to get the current token from the key, or temporarily scan the QR code on a device to complete sign-in.
Second, [download the ImmyBot RunScript Automation Policy](https://immybot.blob.core.windows.net/public-media/new-ncentral-rest-integration-files/ImmyBotRunScript.amp) and upload it to your instance. Fill out the Name and Description how you see fit if required.
Last step is to ensure this new automation policy we have uploaded is able to be invoked by the Immybot API User.
54
+
Find the automation by searching for "Immybot", then flipping the `Enable API` switch. Accept the confirmation modal, then copy the `Repository ID` for later use.
55
+
::: warning Make sure you copy YOUR `Repository ID`, as this identifier for the automation policy will be unique across every N-Central instance!
Navigate to the "Integrations" page in ImmyBot, and create a new `N-Central v2` integration.
63
+
Input a name you'd like for the integration, followed by your N-Central server URL, and the `JWT` you copied in the steps to make an "ImmyBot" API user.
64
+
Then, input the `RepositoryId` gathered from the step before.
65
+
Lastly, flip the `Enable Integration` switch.
56
66
57
-
Press the "Verify Credentials" button, then, if completed successfully, press the button again to save the integration.
67
+
::: warning If the `Health Check` reports an error after enabling the integration, ensure you have completed the above steps correctly. If you continue to have issues, reachout to the community or support for assistance.
## Login to the new ImmyBot user to get MFA code and accept EULA
44
+
45
+
Once you have created the new ImmyBot user account, you must attempt to login
46
+
so that you may retrieve the MFA key, and complete any initial setup.
47
+
After entering the accounts email and password, there will be a MFA QR code displayed.
48
+
You MUST press the "CAN'T SCAN IT?" button to get the Base32-encoded MFA key.
49
+
After saving the key, use [a site such as this](https://totp.danhersam.com/?period=30&digits=6) to get the current token from the key, or temporarily scan the QR code on a device to complete sign-in.
0 commit comments