How to insert data from interface to table?

I'm new to Appian, i want to insert data to my table.

1. Created a CDT with elements for Leave Request(Employee Name, Email, LStartDate, LEndDate)
2. Created datasource and assigned CDT to it.
3. Created Form from scrach and added fields with rule input on it.

now i want to create data store entity smart service to insert my data from Form to table Leave Request.

how to create data store entity smart service and call on submit button clicked.

  Discussion posts and replies are publicly visible