icon

Table of Contents

How to Create a PDF Template with CraftMyPDF

This tutorial covers the steps to create a new reusable template and also how to obtain the API Key in the web management console.

1. Create a new reusable PDF template on CraftMyPDF.com

(i) Register or log in to https://craftmypdf.com

(ii) After login, click on Manage Templates on the side menu

(iii) In the Manage Templates page, click on New Templates and select a template to create a new PDF template

(iv) In the Manage Templates page, click on Edit to edit the template.

(v) There are 4 tabs in the PDF template editor:

  • Designer – a drag-and-drop environment for designing PDF templates.
  • Preview – is where you preview the PDF and also debug the expressions.
  • Data – here is where you manipulate the data for preview. It’s important to have your JSON data ready because the JSON schema will be used for auto-complete drop-down and the JSON will be used for PDF preview. The JSON data on the left is a sample, you have to substitute it with your JSON data for the actual PDF generation.
  • Settings – here is where you configure the paper format, margins, template name, etc

(vi) You may modify the JSON in the Data tab.

(vii) Click on Preview tab to view the result.

2. Obtain API Key on API Integration Page

API Key is to create PDFs or manage templates, it’s used for Zapier, Integromat, or REST API. You may find the API Key on our API Integration Page

Recent Posts
blog

Generate PDFs in C# with 8 Libraries (2024 Updated)

In this article, we will cover different options available, including using libraries such as iTextSharp and PdfSharp, cloud-based APIs such as CraftMyPDF, built-in classes in the .NET Framework like the PrintDocument class, and the Microsoft Office Interop library.

Read More »
blog

How to generate PDF documents with 4 Popular PHP Libraries (Updated 2024)

There are various libraries available to generate PDF documents with PHP such as FPDF, TCPDF, or DOMPDF. These libraries provide a wide range of features for creating PDF documents, such as setting page size, margins, fonts, and images.

In this article, I would briefly discuss some of these libraries along with some code snippets and show you how to generate a PDF document using PHP and CraftMyPDF.

Read More »
blog

How to Dynamically Create a Trackable QR Code in a PDF Without Coding

In this article, we’ll explore a range of topics including free QR code tools, tips and tricks for using QR codes effectively, and various use cases.

In addition, we will guide you through automating the generation of dynamic QR codes using Zapier, Airtable, and CraftMyPDF’s PDF or image generation APIs.

Read More »
blog

A Guide to Generate Barcodes and QRcodes

In this article, we’ll explore barcodes and QR codes, discussing their applications and how they’re used in various scenarios. I’ll guide you through the steps to create these codes using Python and Node.js. Additionally, we’ll look at how to generate barcodes and QR codes with CraftMyPDF, which supports REST API and integrates seamlessly with no-code platforms like Zapier, Make.com, and Bubble.

Read More »
Copyright ©2024 CraftMyPDF.com

Email us at [email protected] for support