# How to create a DCA flow in Partitura

This document provides a guide for using Partitura, an automated job execution platform. The guide includes steps such as signing in, creating a Safe wallet, topping up the wallet, creating a job, executing the job, and performing a DCA (Dollar Cost Averaging) flow.

_Note: You must sign in to Galxe with the same EVM address to receive Power Points._

To create your DCA flow follow the instructions:

1. Open [https://partitura.io/](https://dev.partitura.io/) and Sign In

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FcCAuPu3SzndONBwtH3WX%2FUntitled.png?alt=media&#x26;token=b99d588c-9847-4fd3-8c6b-cd7d4fd5c6dc" alt=""><figcaption></figcaption></figure>

2. Use Metamask or Wallet Connect

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FhJi2aSe6i5J5eHjlpBPf%2FUntitled-1.png?alt=media&#x26;token=a1fcabee-643d-4684-9bab-b4d9eaf807fe" alt=""><figcaption></figcaption></figure>

3. You will see the screen with connection success after that

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FmEd51VyWJDhrOLs54jLL%2FUntitled.png?alt=media&#x26;token=62768198-4f7d-44df-8039-882e2b8e8300" alt=""><figcaption></figcaption></figure>

4. You need to have at least $5 in ETH on Arbitrum in your wallet to deploy a job
5. Click on the profile icon in the upper right corner and click it, then click "Create Safe" to create a Safe wallet that will execute automated jobs. Check to be on the Arbitrum in the chains section

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FAPd8HEF1SqAB3gDYgdt6%2FUntitled-1.png?alt=media&#x26;token=58e878bc-09eb-46c6-bf89-f04917be068b" alt=""><figcaption></figcaption></figure>

6. Click "Create wallet"

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FGAhYU4U1dVYYC2k6Ds37%2FUntitled.png?alt=media&#x26;token=5d8129de-d5df-433e-bcfb-32028f0ee75a" alt=""><figcaption></figcaption></figure>

7. Then sign a transaction through your wallet

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FH3MbbJpoikZ00kJd6ivF%2FUntitled.png?alt=media&#x26;token=485f8769-1ea3-439a-9eb5-e05c05c1f820" alt=""><figcaption></figcaption></figure>

8. The Safe wallet will be created and you will need to top it up

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2Fle0poEvsquWjQF7X80er%2FUntitled.png?alt=media&#x26;token=f4c7a99a-90a3-4a6c-a60e-63fd99a50dd4" alt=""><figcaption></figcaption></figure>

8.1. If the board hasn’t opened automatically go to Dashboard and click "Create Your First Job"

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2Ftp0UPYKSIb3XCGDEmSbB%2FUntitled.png?alt=media&#x26;token=6da8578e-6354-4434-bda2-941564fe5436" alt=""><figcaption></figcaption></figure>

9. On the board click new action and choose "Safe" from the option list

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2Fpy29zebjQuhkuAo0Qjrd%2FUntitled.png?alt=media&#x26;token=612934db-4c4c-4a0c-bf85-44d525cea700" alt=""><figcaption></figcaption></figure>

10. By clicking on the "Safe" block itself, a new small window will open where you can change some parameters

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FoaRfzMS6DQkV8S6Oj0XJ%2FUntitled.png?alt=media&#x26;token=94279f97-0466-47a4-80c5-9b8d8720d212" alt=""><figcaption></figcaption></figure>

11. In that window choose the Method “Use one of your Safes”, choose your newly created Safe wallet, make the "top up" slider "on", and choose the Token to Top Up (we recommend to go with $ETH or $DAI directly) and Top Up Amount. After that click “Save”

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FXIyQKNwkNsHwcNGMeZOA%2FUntitled.png?alt=media&#x26;token=6e7fd076-f003-46d4-8b2b-35ed27e0bebb" alt=""><figcaption></figcaption></figure>

12. After that click on a plus icon under the Safe block and choose Balancer to make a Swap of DCA strategy. Choose the token you want to swap and swap it into $DAI. Don’t forget to mention the concrete amount of that swap. You can also change the name of a board in the upper left corner

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FGGmftARoZGhpR3IUyqId%2FUntitled.png?alt=media&#x26;token=802d6425-1bb9-442e-a034-8eb871df00a3" alt=""><figcaption></figcaption></figure>

13. Now you will have this project on a general dashboard in Partitura

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FicGkbCwpIbXqyd0DejY4%2FUntitled.png?alt=media&#x26;token=26dd2e40-a314-4695-b440-292fd0cf58d6" alt=""><figcaption></figcaption></figure>

14. On the project board click "Execute"

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FGFRw4ZLRxy2sHCXEwMhl%2FUntitled.png?alt=media&#x26;token=bcf7d09f-725b-4879-ae72-f67c761cf816" alt=""><figcaption></figcaption></figure>

15. It will prepare the transaction data and you will see the "Execute Flow" button, click on it

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2F6P5jUgRZHDUue9IOBdSA%2FUntitled.png?alt=media&#x26;token=ea200b25-3cbd-492b-9dfe-88c16564b599" alt=""><figcaption></figcaption></figure>

16. After that, sign a transaction once again

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FaEFadJUwXlaKXTI8kIc0%2FUntitled.png?alt=media&#x26;token=6580d318-af04-4d4b-ad90-f4fea5b061ac" alt=""><figcaption></figcaption></figure>

17. You will see the "Success" window, with a "Go to Dashboard" button, click on it

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2F0WxyQbKprBB72yEjaZ8S%2FUntitled.png?alt=media&#x26;token=963037d1-5e47-4fdd-9e5c-e6f46aaf1141" alt=""><figcaption></figcaption></figure>

18. On the Dashboard choose "Eth DCA by PowerPool" and click on it

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FAyzSY3IQzsUD0TpLF6Fo%2FUntitled.png?alt=media&#x26;token=a4040804-be9b-42f7-a3ff-b040d300827e" alt=""><figcaption></figcaption></figure>

19. On the board of this project click on the "Swap" block from Balancer and choose how much $DAI you want to swap into $ETH. After that click on the "Save" button

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FLC2RoGxEBsn3FEbPMPsg%2FUntitled.png?alt=media&#x26;token=02d6c6c3-8783-4272-875e-06fab714711a" alt=""><figcaption></figcaption></figure>

19.1. You can change the parameters in the "Time Trigger" block according to your needs

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FZpHhMguBan93z6gARh9x%2FUntitled.png?alt=media&#x26;token=b4cf5a73-379e-4f13-ab6d-57c2e8f8a20e" alt=""><figcaption></figcaption></figure>

20. &#x20;Click "Execute" and execute the DCA flow

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FzH9AtvR78VsGtXQJohdj%2FUntitled.png?alt=media&#x26;token=17e4b967-71e6-4697-8a20-d1e467e440f3" alt=""><figcaption></figcaption></figure>

21. Click on the "Execute Flow" button

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FzEhj3Ee6Hl0uqZ1Vz8FF%2FUntitled.png?alt=media&#x26;token=09e9a3ac-08c2-4408-b641-c12b377257d8" alt=""><figcaption></figcaption></figure>

22. Sign the transaction through your wallet

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2FMeXlNlh0zsVfljNcfWTm%2FUntitled-1.png?alt=media&#x26;token=add589fb-0a5a-479a-af93-d507ea7319c2" alt=""><figcaption></figcaption></figure>

23. After the success of that transaction, you will have a DCA in the "Ongoing Flows" section on the main dashboard

<figure><img src="https://1086986195-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MJqrcOKqAefjDPcq_0d%2Fuploads%2Fp6IJf3oDj0UkbTzfpXh2%2FUntitled.png?alt=media&#x26;token=20e90716-21cc-4403-820c-3812deeb71e6" alt=""><figcaption></figcaption></figure>
