Skip to main content

Get started in three steps

Upload your first file to Filejar in under 5 minutes.

Step 1: Install and setup

Install the Filejar client:
Get your API key from the Filejar dashboard and set it as an environment variable:

Step 2: Upload your first file

Create a simple script to upload a file:

Step 3: Use your file

Your uploaded file is immediately available via CDN. Use the URL anywhere:

Complete example

Here’s a complete working example:

Next steps

Now that you’ve uploaded your first file, explore more:

Node.js Guide

Learn advanced usage patterns and best practices.

Framework Recipes

See how to integrate with Express, Hono, Fastify, NestJS, and ElysiaJS.

API Reference

Explore the complete API documentation.

Error Handling

Learn how to handle errors gracefully.
Pro tip: Store the file key in your database to retrieve files later. The key is all you need to construct the file URL!