Add website - NukeViet
To add a website running on the NukeViet platform to AIKTP you need to ensure your NukeViet website is using version 4. If you are using older versions, upgrade to version 4 before proceeding.
Configuration on NukeViet
Step 1: Upload the AIKTP API to your NukeViet host
First download the file NukeViet_AIKTP_1.0 to your computer
Extracting this file you will find a file named AIKTP.php
Upload the AIKTP.php file to the server (or hosting) running NukeViet. The upload directory is includes/api

After uploading, proceed to step 2.
Step 2: Enable remote API
Access NukeViet administration and choose Configuration -> General configuration

Then scroll down and check the box: Enable remote API

Step 3: Grant permissions to the API
After uploading the API file and allowing remote API calls, you need to grant permissions for the API to operate. From the menu "Account" -> Administration

Select "Manage API Roles"

Then on the right screen create a new API Role

Name: AIKTP
System: check webtools_AIKTP
Click save changes.
Then in the menu: API Access

Click "Add API Access"

Then fill in the information:
Access description: AIKTP - Post article
Select admin: choose an administrator
Select API Role: aiktp (created above)
Authentication method: password_verify
Click "Save changes" to complete
After clicking "Save changes" you will see the Access Key and Secret Code — copy these two pieces of information to enter into AIKTP

Configuration on AIKTP
In AIKTP, click the "Website" (or Websites) menu

Click the "Add Website" button

Select the NukeViet platform

Then click "Next" and fill in the information

Information includes:
Website URL: link to the domain running NukeViet. Note to include https://domain
Access Key and Secret Code taken from above. Then click Verify to validate
If the information is correct, the verification proceeds quickly; click "Save" to finish adding the NukeViet website to the AIKTP system
Last updated