To use FileKit, first sign up and create an app on the Tanker dashboard.


Do not forget to save the app secret, otherwise it will be lost!

Then, add the FileKit package to your project dependencies:

$ npm add @tanker/filekit

Now, use the app ID from the dashboard and initialize FileKit in your client code:

import FileKit from '@tanker/filekit';

const appId = 'Your app ID';

const filekit = new FileKit({ appId });

You are now ready to use FileKit.