Sunday, 16 May 2021

Implementing Face Authentication in Pega

  Implementing Face Authentication in Pega


     First of All I am Really Sorry for Not Able to Post Steps with Screenshot due to My Pega Cloud Got Expired. But I will Share the List Steps I have Used to Achieve This.



  1. Before We Start You Need To Be Know How to Configure Connect-Rest.
  2. First Step is You Have to Get API access that uses Facial Recognition. You can Rapid APi etc.
  3. After Getting the Api , You Need to Configure for Connect-Rest.
  4. Next Step is to Create the Case type with Necessary Steps.
  5. You can Configure steps with UI by Watching my Demo Video (Link in Bottom of Page)
  6. Now You Need to Configure Section and click HTML Tab.
  7. Then Unclick Auto-Generated Code, The Paste the HTML + Javascript Code That can Access to Camera.
  8. Now You Have to Pass the Image url to any Property that Created during Casetype Steps creation.
  9. For Registering Face ,You Need to Make a Request for API with Neccessary Parameters that Holds Image url and Password.
  10. Then You Have Show the Response in the Section about the Status of Request.
  11. Similarly For Login, You Need to Do Same thing for Request but Only One Thing Changes here is It Holds only One Parameter that holds image url.
  12. You Need to Ask password from user and store it in some property.
  13. You Need to Show the Response that will tell You Whether Face is Registered or Not along with password.
  14. Now You Need check whether the user Entered Password Matches with Response Password.
  15. if Both Face Exist and Password Correct Means Tell That You are Authentication.
  16. Else You are Not Authenticated.

Feel Free Post Your Doubts in Your Comment Section

Follow me : 








Subscribe and Share This Blog

Sunday, 10 January 2021

Creating Google Sign-in for Pega (PART -2)

 Creating Google Sign-in for Pega (PART -2)


    Summary of Last Post

            We Have Created a Google Client ID and CLIENT SECRET KEY in Previous Post. If You have            Not Read . Then Read my Previous Post Creating Google Sign-in for Pega (PART -1). 


<----------------------------------------------------------------------------------------------------------------------->

           Now In This Post We Will Discuss How to Create Google Sign-in Button and do Google                               Authentication and Create Operators in Pega.

Step To Implement This


Step 12 : Now Login with Your pega and Navigate to App Studio.

Step 13 : Now click Users --> Single Sign-on (SSO) 

Step 14 : Now Click New Button and Then Click Google.




Step 15 :  Now Enter the Name and Paste the CLIENT ID and CLIENT SECRET  KEY that you                             Obtained from Previous Post into Fields 

Step 16 :  Now Click the CheckBox to Create Operators for New Operators and then Select the Access                    Role To Open After Google Sign-in.





Step 17 : After That You Submit it You can See the Google Icon that Got Enabled.





Step 18 : Now click the Icon (three Dots) and select Configure.




Step 17: Now Navigate to your Bottom of Page and copy the Link under Configure your IDP.





Step 18 : Now Logout From Your Pega and Paste the Link that you Copied into a New Tab to See the                    Magic with Google Sign-in Button got Enabled..



Step 19 : Before Proceeding Logout All Mail IDs from Your System .

Step 20 : Now Click The Login with Google, After It will ask you to Login with Mail Id . After Login it                 Will Redirect You to Portal That you selected in Access Group Role in App Studio.

That's It ,We Have Learned Google Sign-in Successfully.


For More Details 

 Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/

            Blog : https://techelectroblogger.blogspot.com/



You can also contribute to us by Sending a Mail to Me 


Thanks for Reading This Blog          Support and Share this Blog.



Creating Google Sign-in for Pega (PART -1)

     Creating Google Sign-in for Pega (PART -1)


            In this Blog We are going Create Operator for Pega by Signing-in into Google Account.

Steps to Implement This 

  Step1 :Open https://console.developers.google.com/ in New Tab. Then Sig-in with You Google                `        Account. 



Step 2: Now Click Select Project at Top and Click New Project



Step 3: Now Enter Your Project Name and Select Location as No organization and then click Create.



Step 4: Switch to the Newly created project, select the OAuth Consent Screen to create OAuth                             ClientID.

Step 5 : In Use type Select External .and then Click Create.


Step 6 : Now Fill Necessary Details Like Project Name, User Support Mail, App Logo , Developer                      Information and Click Save and Continue.



Step 7 : You have Click Save and Continue Upto Summary. Now in Summary Page You can See                         Details that You Have Entered in Before screen and then click Back to Dashboard Below.



Step 8: Now You have Create Credentials to Access the google Sign-in Function. For This You have                 click Credentials at Left Navigation Bar and After This click Create Credentials .



Step 9 : Now Click OAuth Client ID.



Step 10 : Now in Application Type Select Web Application and Leave the Name in Default and The                 Add Authorised Redirect URL and Put you Cloud/Personal Edition Login Url upto prweb.
            (Example : localhost:8080/prweb/PRAuth) and Click Create.




Step 11 : That's It You Have Been Created You CLIENT ID and CLIENT SECRET KEY Sucessfully.                    Note Down Both CLIENT ID and CLIENT SECRET KEY.

We have Make the Google Sign-in Button in Login Screen of PEGA that we Will Discuss in Next Post.


For More Details 

 Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/

            Blog : https://techelectroblogger.blogspot.com/



You can also contribute to us by Sending a Mail to Me 


Thanks for Reading This Blog          Support and Share this Blog.


            

Monday, 4 January 2021

Changing Maximum Upload Limit in Pega

 Changing Maximum Upload Limit in Pega

         
           As we Know that We can Upload RAP file only Less Than 25 MB. Here Upload Limit is Restricted By Pega. These Rules are available in Pega-Engine. In This Blog We are going to Change The Maximum Upload Limit in Pega.


Step 1: open Developer Studio in Pega and Search Pega-Engine prconfig/initialization/  in search Box.



Step 2 : You will Find Many Results Related to This. Now click 
Pega-Engine prconfig/initialization/maximumfileuploadsizemb/default



Step 3: Here As you see that value has been Limited to 25 MB.


Step 4 : Now We are going to Change the value to 100 MB.



Step 5 : Now Save it and Try to Upload the File Greater than 25 MB.


Note  Some Time This Maximum Limit won't work in Pega cloud . Reason Would that Pega cloud Should be Restarted from Node to Node and cluster Servers (Not sure about this Reason).

 Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/

            Blog : https://techelectroblogger.blogspot.com/



You can also contribute to us by Sending a Mail to Me 


Thanks for Reading This Blog          Support and Share this Blog.

Saturday, 19 December 2020

Integrating Payment Gateway in Pega

     Integrating Payment Gateway in Pega


Creation of Instamojo Account

1. Open the url provided here Instamojo
2. Sign up using Google
3. Enter your mobile number to get otp and click verify.
4. Click payments on next tab
5. Provide Username
6. Click blue button to go to subsequent pages and go to
next pages and enter required business details and
pan card details.
7. Just create and add bank account details.
8. Open Pega
9. Create Case Type Online gift Store.
10. Create Stage Name Index Page.
11. Add Step Name Index Page. and  Payment Page


12. Create Data Type Gift Details List.



13. then Configure Local Data Source and Save it.


14. Create Integer Property named as AmountToPay in Data model of Casetype.
14. Create Text property named as URL in Data model.
15. Go to App explorer --> data model --> property --> Right click on Url and click Define Expression.



16. Now in Expression value use your Link that obtained in Instamojo  (url?purpose=pega&amount=+ .AmountToPay)
.
Example Image



14. Create a GiftDetails section in App Explorer in GoGoCM-Practice-Data-GiftDetailsList


15.Now Configure section by Dragging all properties into it.



16. Add a button Buy and configure event Action Model
17. Configure Event as click and Action as Data transform named totalpriceDT and Finish Assignment --> Transition --> Move Forward.


18. create totalpriceDT and configure shown in picture.





19. Now Create Index page Section in GoGoCM-Practice-Work-OnlineGiftStore and open it.



20. You have create propert giftsData in casetype and refer that property to giftDetailsList..


21. Now open indexpage section and Use Repeating dynamic layout as giiftDetailsList and drag and drop the section that created in data class to inside Repeating Layout.


 

14. Open the section paymentpage in GoGoCM-Practice-Work-OnlineGiftStore .
15. Create Image / Button as Pay Now and configure Event action model . Event is click and action is open url in new Window and configure as shown in image.



20. Click save
21. Run the case and check.

Note : I have attached the Demo video of Integrating Payment Gateway in Pega below



Written and Published by : 


                                                VIGNESH P
                                                PEGA CERTIFIED SYSTEM ARCHITECT
                                                RAJALAKSHMI ENGINEERING COLLEGE
 


Demo Video :






 Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/



You can also contribute to us by Sending a Mail to Me 

mail id : 1999vigneshpvk@gmail.com