# Import DApp Groups

Import a YAML file to add many DApp Groups to your organization in a single
operation.

The file you import is normally one you [exported](/user-guide/dapp-groups/export-dapp-groups) from
another Fordefi organization and edited outside Fordefi.

To create or edit groups by hand, see [Manage DApps](/user-guide/work-with-dapps/manage-dapps).

Make sure that the YAML file is properly formatted, as in this example. The
[export page](/user-guide/dapp-groups/export-dapp-groups#edit-the-exported-file) describes the format.

```yaml
dappGroups:
    - name: Ethereum DEXs
      dapps:
          - name: 1inch
            chain: evm_1
          - name: Uniswap V3
            chain: evm_1
            debank_id: uniswap3
    - name: Polygon Treasury
      dapps:
          - name: Aave V3
            chain: evm_137
          - name: QuickSwap
            chain: evm_137
```

Notes
- Only [admins](/user-guide/organization-management) can import DApp Groups.
- An import requires a single [Admin Quorum](/user-guide/admin-quorum) approval, in the
same way as [importing addresses](/user-guide/addresses/import-addresses).
- Only one DApp Groups import can be pending approval at a time. Approve or abort
the pending request before you start another.


## Import the file in the Fordefi web console

1. Open the Fordefi web console.
2. In the side menu, click **DApps**, then click the **Groups** tab.

3. Click the arrow next to **Create group**, then click **Import groups**.
The **Import DApp groups** dialog opens.

4. Drag your DApp Groups YAML file onto the dialog, or click **Browse** and select
it. Click **Continue**.
Fordefi parses and validates the file, then displays the number of DApp groups it
contains, followed by a card for each group showing its name and the number of
DApps in it. If Fordefi cannot read the file, the dialog reports that the file
failed to load. Check that the file is a valid YAML file and upload it again.

5. Review the errors and warnings reported on the group cards, and resolve them as
described in [Errors and warnings](#errors-and-warnings). Hover over a card to
reveal the **Edit** and **Delete** icons.
6. Click **Submit for approval**.
An import request is sent to the Admin Quorum, and the DApp Groups list indicates
that an import is pending approval.


## Errors and warnings

To resolve an error or a warning:

1. On the group card, click the **Edit** icon.
The group opens, with the error or warning displayed at the top.
2. Do one or more of the following:
  - Change the **Group name**.
  - Click **Choose DApps** to add DApps to the group.
  - In the **In group** list, click the **Remove** icon next to a DApp. The DApp
is dimmed, and you can click it again to restore it.
  - Click **Delete group** to remove the group from the import.
3. Click **Done**, or click **Back to all groups**.


## Approve the import in the Admin Quorum

To complete the import, the [Admin Quorum](/user-guide/admin-quorum) must do the
following on their mobile devices.

1. Go to **Management** > **Inbox**.
2. Tap **Import DApp groups request**.
The request shows the initiator, the date, and the number of groups imported.
Tap **View imported groups** to see the groups in the import.
3. Tap **Approve**. To cancel the import instead, tap **Abort**.


When the required number of admins approve the request, the groups are created. If
the request is aborted, no changes are made.