This repository contains a variety of code examples for working with BoldSign eSignature API, and this code examples are built with Angular and PHP.
This repository includes the below list of code examples using the BoldSign APIs:
- Send document for signing
- Get detailed information of the document
- Send document from template
- Embed signing process within your app
- Embed send document within your app
- Embed send document using template within your app
- Signup for BoldSign trial
- Acquire needed BoldSign app credentials from here. Authentication - Help Center - BoldSign
- Check the node version, it should be v14.15.0 or above.
- And also check if Angular is installed, if not kindly run this command on your terminal to install
npm install -g @angular/cli
- Now you have all the prerequisites ready to start BoldSign API for Angular.
- In your machine doesn't have PHP, kindly install from Download XAMPP PHP.
- Check the composer version using this command,
composer -V
- In your machine doesn't have composer, kindly install from Download Composer.
- Now you have all the prerequisites ready to start BoldSign API for PHP.
- Before running the sample, go to PHP-REST-API folder and open your terminal. Generate .env file using this command,
copy .env.example .env
- Open the .env file in the PHP-REST-API folder, and add your API key acquired from the BoldSign Web App in the ApiClient, add your Api_Key by the following format "API_KEY=XXXXXXXXXXXXXXX" and save it.
- When run the Send document from template sample, create a template from the web app with necessary fields. Copy the template ID from the web app once the template has been created. Add the copied template ID, in the sample template ID text box.
- When run the Embed signing process within your app and Embed send document using template within your app sample, create a template from the web app with necessary fields. Copy the template ID from the web app once the template has been created. Add the copied template ID, in the sample template ID text box.
- Open a new PHP-REST-API folder terminal and install the packages by using
composer install
. - Run
php artisan serve
. Server is listening the port.
- Open a new terminal and install the packages by using
npm install
. - Run
ng serve
. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.
Any feedback or queries? Please feel free to contact our support team or mail to support@boldsign.com.