# Generate a document throught the API
## Steps
You need your template UID to generate the document
* Go on https://bigle-platform-test.firebaseapp.com/
* In the template section select the template you want to use (ex: NDA) and copy is UID from the URL
NB : Make sure that you have a NDA template activated !
* Go in Postman
* Go into "bigle-api-documents" repository and get the "Newman" folder:
* 
* If you don't have "Bigle API Documents" Collection :
* download it here https://drive.google.com/file/d/1pbfetZa95zpqqdA3BflvsvL5jf7ZD3Nh/view?usp=sharing
* Import the files in the collection folder
* 
* Select "Bigle API Documents" Collection
* Go to Documents > Create document > Success
* Select one of the Create Document NDA
* In Post, set https://europe-west1-bigle-platform-test.cloudfunctions.net/apiDocumentEU-v1/
* In Authorization type, select Bearer Token and set your token
* In Body :
* fill the properties with the informations you want to add
* replace the userEmail by yours
* Replace the templateUid by the one you collected on the app
* Click on "Send" to generate the document in your workspace