Testing the installation
Adding a first plugin
First, you need to configure your GitHub environment (more information in development prerequisites).
If you don't have a GitHub account, Create a GitHub account now.
Warning
A.V.A.T.A.R is a reserved profile name. Never use this name to name your profile.
Creating an access token
Personal access tokens (classic) function like ordinary OAuth access tokens. They can be used instead of a password for Git over HTTPS, or can be used to authenticate to the API over Basic Authentication.
In your Github environment:
- In the top right-hand corner, open the contextual menu and go to
Settings. - Then, at the bottom of the left-hand menu, click on
Developer settings. - Then click on
Personal access tokensthenTokens (classic). - In the top right-hand corner, click on the
Generate new tokenbutton andGenerate new token (classic). - Enter a name for the token in the
notefield. - Enter No expiration in the
Expirationlist. -
in the repo tab, select repo:status and public_repo in the scopes.

-
Then click on
Generate tokenbutton. - Copy and save your personal access token (It will be used to connect to the
Plugin librairy).
Downloading the worldTime plugin
To download the plugin, we'll use the Plugin librairy.
Remember
Always wait until the client is fully initialized before clicking on its name to open its context menu.
Wait until you see the Ready to listen! message in the console.
-
In the A.V.A.T.A.R menu, click on
Edition->Plugin librairy:
-
Enter your Github login and your personal access token.
-
Click on the
Remember metoggle if you no longer wish to enter your login details.Note
If possible regarding the operating system, your personal access token will save in the application as an encrypted string.
These functions add extra protection to data stored on disk, using the cryptography provided by the operating system. See more information in the API -
Click on the
Sign inbutton. Plugin librairysearches for plugins from all contributors.-
In the
Plugin librairywindow, drag slides to bring up theworldTimeplugin:
-
Click on the
Installbutton. - Restart A.V.A.T.A.R.
The worldTime plugin is installed !
Tip
Use Plugin studio to configure the two plugin parameters default.zone and default.speech of the worldTime plugin.
Once you have modified these settings, right-click on the plugin properties and click on save.
Restart A.V.A.T.A.R.
Ready to test
You are now ready to test the installation.
- Start the server.
- Start a client.
-
You can now speak the voice rule (of course, in the langage defined in the client properties, the example below is in English for the documentation):
- Sarah, what time is it?
Tip
Don't forget the trigger keyword you've set (default Sarah or Jarvis)
- If everything has been done correctly, A.V.A.T.A.R will tell you what time it is.
