1. Creating an Application

  1. Under Manager section in the side menu, click on Settings → Applications.
  2. Click on New button.


NoteYou need Manage Applications permission to Create or Edit Applications. If you do not have that permission, you will not see above options.


2. Options


Option
Description
Name

A name to identify the application. Ideally, give a name that makes it easy to identify where the application is used.


For example, Biometric Integration may be given to application used for biometric attendance system.

Authorized Employee
Each application has an associated user called Authorized Employee. The application acts as that employee when API calls are made. So, the application will have all the permissions of that employee and will be able to perform all the actions that user can perform.

NoteChoose authorized employee carefully. Especially if you are going to give application credentials to a third-party developer.


3. Credentials


When you create an application, you get two credentials:


  1. APP_KEY - This is a unique identifier for your application. It is similar to a username.
  2. APP_SECRET - This is like a password for authorizing your application and must be kept secret.


Using these two credentials, you can authorize your application and then make API calls to access data.


ImportantAPP_SECRET is like a password. It should be kept secret and should not be revealed publically.


4. Enable/Disable an Application


Since an application can access and manipulate data in SnapHRM, enabling or disabling an application can come in handy. If you disable an application, any code using that application will stop working and will no longer be able to access 


  1. Under Manager section in the side menu, click on Settings → Applications.
  2. Select the application by clicking on its row.
  3. Click on Enable to enable the application, Disable disable the application.


5. Edit an Application


  1. Under Manager section in the side menu, click on Settings → Applications.
  2. Select the application by clicking on its row.
  3. Click on Edit button.


6. Delete an Application


Deleting an application is irreversible. Delete an application only if absolutely required.


  1. Under Manager section in the side menu, click on Settings → Applications.
  2. Select the application by clicking on its row.
  3. Click on Delete button.