# Moving Assets into DSA

There are several ways to deposit into the DeFi Smart Account:

* Deposit directly by sending assets into the DSA address
* Deposit using the GUI
* Migrate positions into DSA

## Deposit directly into the DSA Address:

On the interface click the Deposit button and the Deposit tab will open.

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR73UlbDWJXExefYjtN%2Fimage.png?alt=media\&token=3ba306d0-2854-4472-8570-233247b6b304)

This will display the DSA address in QR form. Assets can be deposited directly into the DSA address.

#### Things to Note:

* The Instadapp GUI only displays a whitelisted set of tokens on the interface, other tokens in the account will not be displayed. (**See** [**Basic Connectors - Withdraw**](https://app.gitbook.com/@instadapp-3/s/instadapp-docs/~/drafts/-MR6FwKuZxB61sWb_2sS/dsa-sdk/connectors/basic#withdraw))
* The DSA SDK can be used to interact with all tokens.
* Some exchanges do not allow withdrawal to smart contracts, the DeFi Smart Account is a smart contract wallet.

## Deposit using the GUI:

**1)** On the interface click the Deposit button and the Deposit tab will open.

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR75eIIjuCkLxw1r1xy%2F-MR75hvK6aLfeLAwRJKy%2F032.png?alt=media\&token=b80b5727-0bf1-439e-9e50-ea3535e14619)

**2)** The Deposit tab will open

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR75eIIjuCkLxw1r1xy%2F-MR75hvL53WAT3Xmue0H%2F033.png?alt=media\&token=24797fd3-b20e-4fff-aa8d-3fe6b3d6128b)

**3)** Select the asset to be deposited

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR75eIIjuCkLxw1r1xy%2F-MR75hvMTLg3RR1VDcZR%2F034.png?alt=media\&token=8a6b9902-4e44-490d-bae8-082e218db54e)

**4)** Enter the amount of the token to be deposited

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR7l4785vDtbU_oCfww%2F-MR7m-6xBONM8dMU-tZ7%2F036.png?alt=media\&token=4d9fbb71-41dc-434f-b294-9a1c4bfae65e)

**5)** Or click the **Set Max** button to deposit the entire available balance

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR7l4785vDtbU_oCfww%2F-MR7m-7-8t1AAATj3G7s%2F038.png?alt=media\&token=4b43a7b4-8828-4a3a-aeac-ec81f898919f)

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR7nx1-YBmrUIiZb1ae%2F-MR7o0XuaS9z1dF7hbee%2F040.png?alt=media\&token=1bd0670c-4980-40c3-8578-a4db49f040f8)

**7)** Confirm the deposit transaction on Metamask

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR7nx1-YBmrUIiZb1ae%2F-MR7oLLpJnEFWFcjfBIs%2F042.png?alt=media\&token=52d4ef53-2c85-4dc7-ac98-00764116cdea)

**8)** Once the transaction confirms, the updated balance will be reflected on the interface

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR7nx1-YBmrUIiZb1ae%2F-MR7oZI6m2NRoIKTFlu6%2F044.png?alt=media\&token=046ab814-ea60-457b-96dc-3bc4e250ce11)

## Migrate a position into DSA:

Instadapp can import your positions from protocols such as Compound, Maker and AAVE.

**1)** You can start a migration by entering the specific protocol tab.

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6hMD8L6uJjHa6_Ocb%2F-MR6xYTw4_PWXrnmDB9N%2F014.png?alt=media\&token=162c5309-715b-491d-a6fd-188bc60722b9)

**2)** Click on **Strategies**

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR6zL1l-Fvz3csz9mNt%2F016.png?alt=media\&token=9eef4844-5e84-4099-b97f-87e956101f7d)

**3)** Under Strategies there will be an option to migrate your position. To begin click **Import Position**

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR6zjZD-0tv65dob5bU%2F018.png?alt=media\&token=72bd6515-c4c8-4df6-8e7c-34f02d3f4cb5)

**4)** Instadapp contracts need permissions in order to perform the migration. Click the allowance button to grant permissions.

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR7-EVl96QfruQTifQN%2F020.png?alt=media\&token=fc76c7d1-53d4-44ed-9bd1-49440cc83169)

**5)** Confirm the permissions transaction on Metamask

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR7-aNC6R14LgdaKrNi%2F022.png?alt=media\&token=4ff305fe-56af-4a09-a622-d2d005086907)

{% hint style="info" %}
Each asset that is migrated will require a permission transaction. If three different tokens require migration then there will be three separate permission transactions.
{% endhint %}

**6)** Once all permissions have been granted, click **Import** to migrate the position

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR7-tdEfLLPoZZp4TdC%2F027.png?alt=media\&token=57a8e9a2-a9be-4e7a-89fe-d28877588f4a)

**7)** Confirm the migration transition on Metamask

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR70MybCD783iXJw75g%2F029.png?alt=media\&token=ebe1993d-8c09-4e22-9cad-addbfff00548)

**8)** Once the transaction confirms, the position will be imported into the DSA and reflected on the interface

![](https://3348288544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4oPRMR-ywIFveCDbPX%2F-MR6zHIVWEHiOLp-6Bym%2F-MR70Gg3N-dTgOLb2_hd%2F030.png?alt=media\&token=09d94927-5efd-4dea-94ba-335faa7ed2ef)

**See More**\
🔹 [Multi-Protocol Refinancing](https://instadapp-3.gitbook.io/instadapp-docs/instadapp-gui/re-financing) - Refinance the newly imported position\
🔹 [Debt to Collateral Ratio](https://instadapp-3.gitbook.io/instadapp-docs/instadapp-gui/debt-collateral-ratio) - Review how Instadapp displays health ratios of loans\
🔹 [Authorities](https://instadapp-3.gitbook.io/instadapp-docs/instadapp-gui/authorities) - Learn about DSA Account Permissions
