Installation
You can install the application via Docker Compose or via the Docker command:
Docker compose
services:
truelayer2firefly:
iimage: erwind/truelayer2firefly:latest
container_name: truelayer2firefly
ports:
- "3000:3000" # Update this to your desired port
volumes:
- /YOUR_MOUNT:/app/data # Update this to your mount point
Docker command
docker run -d \
--name truelayer2firefly \
-p 3000:3000 \
-v /YOUR_MOUNT:/app/data \
erwind/truelayer2firefly:latest
Configuration
The application will create a basic configuration file to store your settings.
Firefly III
Follow these steps to set up your Firefly III instance:
- Create an OAuth Client in your Firefly III instance. You can do this by going to
Profile > OAuth > OAuth Clientsand clicking onCreate OAuth Client. Make sure to uncheck theConfidentialoption. - Fill in the
NameandRedirect URIfields. TheRedirect URLshould be set tohttp://{YOUR_HOST}:{YOUR_PORT}/auth/firefly/callback. For example, if you are running the application onlocalhostand port3000, the redirect URL would behttp://localhost:3000/auth/firefly/callback. This needs to 100% match the URL you are using to access the application. - In TrueLayer2Firefly, fill in the
API URLwith the URL of your Firefly III instance. For example, if you are running Firefly III onlocalhostand port8080, the API URL would behttp://localhost:8080. Also fill in theClient ID. You will now be guided through the OAuth flow to authorize the application to access your Firefly III instance. - On completion, you will be redirected to the application and your Firefly III instance will be connected.
TrueLayer
Follow these steps to set up your TrueLayer instance. This is a bit more complicated, so follow these steps carefully. You can find more information on the TrueLayer documentation.
- Create an application in the TrueLayer dashboard (sign up if you don't have an account yet).
- Switch your application to
Livemode. This is done by clicking on theSwitch to Livebutton in the top right corner of the dashboard. You can confirm if you're inLivemode by checking the theClient ID. This should not start withsandbox-. - Find your
Client IDandClient Secretin the application settings. These can be found in theSettingstab of your application. If you forgot somehow yourClient Secret, you can regenerate it in theSettingstab. - In the
Redirect URIfield, fill in the URL of your TrueLayer2Firefly instance. For example, if you are running the application onlocalhostand port3000, the redirect URL would behttp://localhost:3000/auth/truelayer/callback. This needs to 100% match the URL you are using to access the application. - In TrueLayer2Firefly, fill in the
Client ID,Client Secret,Redirect URIwith the values from the TrueLayer dashboard. Again, this needs to 100% match the URL you are using to access the application. You will now be guided through the OAuth flow to authorize the application to access your TrueLayer instance. You can filter per country and then find the banking institutions you want to connect to. - From here, follow the instructions in the application to connect your bank accounts.
- On completion, you will be redirected to the application and your bank accounts will be connected. You can now start synchronizing your transactions!
Troubleshooting
If you run into issues, you can reset your configuration by deleting the config.json file in the data folder. This will reset all your settings and you will have to reconfigure the application. Or, the more userfriendly way, goto Configuration and click on Reset Configuration. This will reset all your settings and you will have to reconfigure the application.