Requesting Data Access


Accessing Data in AnVIL

AnVIL provides access to datasets through the AnVIL Data Explorer and Terra. Access requirements depend on the permitted uses of the dataset.

Data access types

Open access

Open access datasets are available to all users in the AnVIL Data Explorer. While no data access approval is required, users will need to use an institutional email with their AnVIL account.

Controlled access

Controlled access datasets require authorization based on the dataset's consent codes. Access is granted through dbGaP or DUOS. Once approved, users must link the appropriate research identities to their AnVIL/Terra account before they can access the data.

Consortium access

Consortium access datasets are available to approved members of participating consortia under consortium data-sharing agreements.

Accessing Controlled Access Data

This section explains how external, non-consortium researchers can find controlled access datasets in AnVIL, request access, and leverage approved access in Terra.

To access controlled AnVIL datasets, you will need:

  • An AnVIL/Terra account
  • A billing project or billing account in Terra
  • Approval to access the dataset through dbGaP or DUOS
  • A linked NIH Researcher Authentication Service, or RAS, identity in Terra

Before you begin: Use your institutional email for Terra

As of March 25, 2026, accessing AnVIL's controlled datasets requires linking your AnVIL/Terra account to the NIH Researcher Authentication Service (RAS).

Your AnVIL/Terra account should be created using your institutional email address. Do not use a personal webmail address such as: Gmail, Yahoo, Hotmail, outlook.com, etc.

Using your institutional email helps ensure that your Terra identity can be correctly associated with your institutional research credentials and data access approvals.

If your institutional account is not a Google account, you will need to set up a Google ID that is linked with your institutional account.

Step 1: Confirm that you have data access approval

Before linking accounts in Terra, confirm that you have been granted access to the study through dbGaP or DUOS.

If you already have dbGaP approval but cannot access the dataset in Terra or the AnVIL Data Explorer, you may still need to link your NIH RAS identity to your Terra account. You can also explore datasets in the AnVIL Data Explorer and request access later.

Step 2: Set up Login.gov or ID.me

To use NIH RAS, you need either a Login.gov or ID.me account.

  • U.S.-based researchers should use a Login.gov account.
  • Non-U.S./international researchers should use ID.me, as Login.gov identity verification requires a U.S. issued ID.

After setting up Login.gov or ID.me, link that account to your eRA Commons identity. Follow these instructions to set up an eRA Commons or NIH account if you don’t have one.

  1. Go to the NIH Linked Identities Settings page.
  2. Sign in using Login.gov or ID.me.
  3. Connect your eRA Commons account.
  4. Confirm that your eRA Commons account appears as a linked identity.

This step allows NIH RAS to recognize your eRA Commons identity and associated dbGaP authorizations.

Once your Login.gov or ID.me account is linked to eRA Commons, connect NIH RAS to Terra.

  1. Sign in to Terra via anvil.terra.bio.
  2. Go to the External Identities tab of your profile.
  3. Select Log In To RAS.
  4. Sign in using the same Login.gov or ID.me account you linked to eRA Commons.
  5. Confirm that your NIH RAS identity appears in Terra.

After this is complete, Terra will use your RAS passport to determine which controlled datasets you are authorized to access. Note: Once per month, you will need to relink these accounts to ensure that you still have proper access.

For detailed instructions, see the Terra support article on RAS Integration for AnVIL Data.

Step 5: Set up billing and access in Terra

AnVIL recommends storing and analyzing data within the AnVIL ecosystem on the Terra platform.

You will need Terra billing for cloud costs such as:

  • Compute
  • Storage
  • Data egress
  • Requester Pays data access

For step-by-step instructions on how to set up an account in Terra, see these instructions: How to set up billing in Terra (GCP).

Step 6: Find data in the AnVIL Data Explorer

The AnVIL Data Explorer provides faceted search and selection of released AnVIL data, including by dataset, donor, biosample, and file formats. You can request access through dbGaP or DUOS right from the Data Explorer, if you aren’t already approved.

To find a study:

  1. Open the AnVIL Data Explorer.
  2. Search for the dataset or study.
  3. Review the access type.
  4. If the dataset is controlled access, check whether you already have access.
  5. If needed, begin a data access request through dbGaP or DUOS.

For step-by-step instructions how to search and filter data and explore studies in the AnVIL Data Explorer, see Search and select data in AnVIL Data Explorer.

Step 7: Request access, if needed

Controlled access data may require a Data Access Request, or DAR. Once your DAR is approved, make sure your Terra account is linked to NIH RAS as described above. Approval alone is not enough; Terra must also be able to verify your authorization through your linked RAS identity.

Next steps: Analyzing AnVIL data

Once you have access to controlled data, you can analyze it in Terra to keep it within the AnVIL ecosystem. For step-by-step instructions, see the support article: Export AnVIL data to Terra for analysis.

Accessing Consortium Access Data

Many consortia have data-sharing agreements between members, granting each member access to every other member's data within the consortium.

The AnVIL is offering a streamlined access process for consortium members in data-sharing consortia. See Consortia Access guidelines for more details and instructions.

The consortium bringing the data in designates a contact person, and that person is added to an access list as an access control admin for the consortia's datasets.

The admin can add or remove users as their needs demand, and any users added to that list will see all the workspaces for their group.

For example, someone added to the CCDG access list will be able to see all the CCDG workspaces.

Participating Consortia

The following consortia currently participate in AnVIL’s consortia data-sharing program:

If you are a member of a participating consortium and would like access to a consortium’s data, please reach out to your consortium leadership to request access.

Requester Pays

All AnVIL buckets have Requester Pays enabled. This means that you must provide a billing account to cover costs associated with:

  • Egress (data transfer)
  • Storage
  • Compute

If you are using gcloud command line tools, include the --billing-project argument to specify the billing account.

Example:

gcloud storage --billing-project=<PROJECT_TO_BILL> cp <gs://path-to-file-to-download> <gs://destination>

Replace PROJECT_TO_BILL with your Google Cloud billing project. For more information, see this article on working with Requester Pays.

Troubleshooting Data Access

If you have been approved for access but cannot see or use a controlled dataset, check the following:

  1. Did you create your Terra account with your institutional email?
  2. Have you created a Login.gov or ID.me account?
  3. Have you linked your eRA Commons account to Login.gov or ID.me?
  4. Have you linked your NIH RAS identity in Terra under Profile > External Identities?
  5. Are you signed into Terra with the correct account?
  6. Do you have an active Terra billing project?
  7. If using command-line tools, are you specifying a billing project for Requester Pays?

If you still need help, you might find the answer to your question or ask a new question on the Support Forum at help.anvilproject.org.

If your inquiry is more sensitive, please email our help desk at help@lists.anvilproject.org, and someone will reach out to you as soon as we are able.


Help us make these docs great!
All AnVIL docs are open source. See something that’s wrong or unclear? Submit a pull request.
Make a contribution