
Storj works with the same API as Amazon S3, so file.rocks connects to it with the Other S3-compatible option. Your files stay in your Storj bucket, and file.rocks gives you a place to browse and upload them.
https://gateway.storjshare.ioStorj uses that one endpoint for everyone. Paste only that address, without the bucket name in it.
Log in to the Storj console. Click Access Keys in the left menu, then click New Access Key.
Give it a Name, like "file-rocks". For Type, pick S3 Credentials.
Choose Advanced so you can set exactly what the key can do. Keep your current passphrase unless you have a reason to change it.
Turn on Read, Write, List and Delete. Under buckets, choose Select Buckets and pick the bucket you want to connect. Set an expiration if you want one.
Click Create Access. Copy your Access Key and Secret Key now, or click Download all.
In file.rocks, go to Settings, then Buckets, and click Add Bucket. If you don't have any buckets yet, the button reads Create your first bucket.
The Create Bucket window opens. Under Storage Type, pick Bring Your Own. Then open Provider and choose Other S3-compatible.
Access Key ID is your Storj Access Key, and Secret Access Key is your Secret Key from step 2.
Endpoint is https://gateway.storjshare.io.
Bucket Name is just the name of your bucket.
For Region, type global. Storj's docs say most S3-compatible tools need a region, and that it "can be set to global." If file.rocks puts in something different after you leave the Endpoint or Bucket Name box, change it back.
Nickname (optional) is the name you'll see in file.rocks, like "Storj".
Click Save Bucket. file.rocks doesn't test an S3-compatible connection when you save, so the bucket saves even if a detail is wrong.
Open Files to check. If the files in your bucket show up, your keys, endpoint and bucket name are right.
If nothing loads, look at these again:
Drop a small file into Files and see if it lands. There's no CORS rule to add.
If your files list fine but uploads fail, check the key's permissions. Make a new key in the Storj console with Read, Write, List and Delete turned on for this bucket, then update the keys in file.rocks.
For more on uploading, see how to upload files to your own bucket. To send a file to someone, see how to share a file from your own bucket. The Contabo guide, the Scaleway guide, the Hetzner guide, the DigitalOcean Spaces guide and the MinIO guide walk through other Other S3-compatible setups. If you're still choosing a provider, cheapest cloud object storage compares the options.
Your files stay in the bucket you connected, and file.rocks is how you manage them.