0800 999 999 7 info@cybersiara.com

CyberSiara™ | Integration

How to install SiaraShield

Choose your website technology, You will get the integration guidelines step by step.


Javascript

WordPress

Vue.js

Angular

Java

PHP

.Net

Laravel

Drupal

Nuxt.js

Frontend Integration Guideline

Angular Integration Guideline

1. Get your public & private key from mycybersiara.com

2. Copy the code in <head > tag.

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://embed.mycybersiara.com/CaptchaFormate/CaptchaResources.js"></script>
<link href="https://embed.mycybersiara.com/CaptchaFormate/CaptchaResources.css" rel="stylesheet"/>

3. Put the below code where you want to load the captcha plugin in <body > tag.Replace 'PUBLIC-KEY'; with your public key.

<div class="SiaraShield"></div>
<script type="text/javascript">
$(function () {
   var PublicKey='PUBLIC-KEY';
   initCaptcha(PublicKey);
   $('.CaptchaSubmit').click(function (){
     if(CheckCaptcha()){
      console.log
(CyberSiaraToken);
       // Please write your submit button click event function here //

     }
   });
});
</script>

4. Add ‘CaptchaSubmit’ class in your submit button.

<button class="CaptchaSubmit"></button>

5. Once all these steps are done, go to your browser and refresh the page and enjoy the SiaraShield. Thank you for using SiaraShield!