> For the complete documentation index, see [llms.txt](https://docs.imperialcad.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperialcad.app/general/administration/csv-import-guide.md).

# CSV Import Guide

Upload your laws using a CSV file based on the ImperialCAD template.

### 1. Copy our Google Spreadsheet

Make a copy of our [Google Spreadsheet](https://docs.google.com/spreadsheets/d/1jUtwBarNf_VUifHL6bJj7-96quL2HuY_PL6_gNE2Wa4/copy) to ensure your laws are formatted correctly for CSV import.

{% hint style="danger" %}
**Do not change the document name.** When downloaded as a `.csv`, ImperialCAD verifies specific values from the original template to process the upload.
{% endhint %}

<figure><img src="https://1018438778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUjyhcGcaldx04RpxDf1p%2Fuploads%2F4SOMXUwL19vkdzQ2EVbe%2Fimage.png?alt=media&amp;token=92c7a9ad-9cf7-4edf-b491-a647aeb47ed2" alt="" width="563"><figcaption><p>Laws - Copy</p></figcaption></figure>

***

### 2. Enter Your Laws

You may now begin entering your laws into the spreadsheet:

* Add new rows for each law you want imported.
* Do **not** modify the header row (Row 1), as these values are required for proper import.
* Fill in each column as needed, including section, violation, fine amount, license points, and classification (Infraction, Misdemeanor, Felony).

<figure><img src="https://1018438778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUjyhcGcaldx04RpxDf1p%2Fuploads%2FQClMHkryytdHkaUkrB5Y%2Fimage.png?alt=media&amp;token=88a97d66-9e40-4d81-856e-82ad5aa0f41c" alt=""><figcaption></figcaption></figure>

***

### 3. Download as CSV

When finished, download your file:

* In Google Sheets, go to **File > Download > Comma Separated Values (.csv)**.

{% hint style="success" %}
Before downloading, **remove any unused rows** at the bottom of your sheet. Extra blank rows may cause errors during import.
{% endhint %}

<figure><img src="https://1018438778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUjyhcGcaldx04RpxDf1p%2Fuploads%2Fm7lorTmEzfxdz6FLTf1a%2Fimage.png?alt=media&amp;token=f1f1d28f-153c-4c85-a678-3a4c135316d5" alt="" width="504"><figcaption></figcaption></figure>

### 4. Import your CSV File

Log into your ImperialCAD Admin Panel and navigate to:\
**Configuration > Laws > Import CSV**

\
From there, upload your `.csv` file to import your laws.

<figure><img src="https://1018438778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUjyhcGcaldx04RpxDf1p%2Fuploads%2FcBFE0cocBFCTDrF1ZAZw%2Fimage.png?alt=media&amp;token=5a1f6c6c-2a34-4a3e-83e9-53c9261b3ba2" alt=""><figcaption></figcaption></figure>

***

### 5. Done! 🎉

Once uploaded, your laws will automatically be stored in your community’s database and ready to use inside ImperialCAD.

***

### Having Issues?

If you experience problems:

* First, verify you used our official [Google Spreadsheet](https://docs.google.com/spreadsheets/u/1/d/1tUyc65fGp0fn4i4GkeqPO_sy5c2-bSkWLkMODxfJPUA/copy) template.
* If issues persist, join our Discord and open a support ticket. Our team will be happy to assist you.
