---
title: Add a data source to the quickstart
source: https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/contribute-nr-io/build-quickstart/add-data-source
---

> #### 💡 TIP
>
> This procedure is a part of course that teaches you how to build a quickstart. If you haven't already, checkout the [course introduction](https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/contribute-nr-io/contribute-quickstart).
>
> As this procedure builds on top of the last ones in the lab, make sure you[create a dashboard](https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/contribute-nr-io/create-a-dashboard) and [create alerts](https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/contribute-nr-io/create-alerts/) before proceeding with this one.

Data sources represent a single type of instrumentation, such as an agent, attributes on a transaction, a cloud provider integration, a third-party integration, etc.

There are two types of data sources:

-   CORE
-   COMMUNITY

The CORE data sources are provided by New Relic and do not exist within this repository, the COMMUNITY data sources are defined within the quickstart repository.

COMMUNITY data sources live in the `data-sources/` directory. In this procedure, you learn how to add a data source to your quickstart.

1.  If you haven't already, fork the [New Relic quickstarts](https://github.com/newrelic/newrelic-quickstarts) repository and clone it to your local machine.
2.  Open your Project in the IDE of your choice and navigate to `\_template` directory.
3.  Here, copy `data-sources/example-data-source` directory and it's content to `data-sources` directory at the root level. Rename the directory as `flashdb`.
    This directory contains sample YAML file to create a data source.
4.  Navigate to `datasources/flashdb/config.yml` file and add details of your data source. For your reference, flashdb data source should be similar to following:
    ````yml

    id: flashdb
    displayName: FlashDB
    description: |
      FlashDB is the fastest and lightest database in the universe. First, it can handle a large number of concurrent users without slowing down. Second, it has a very low latency, so queries are processed quickly. And finally, it scales easily as your data grows.
      This quickstart allows users to monitor their database to ensure peak performance. It also notifies you if there's any problem the database. 

      The flashdb quickstart includes: 
      ## a dashboard 
        where users can easily monitor:
        - Database methods
        - Average response time
        - Errors
        - Database size
        - Cache hits
        - Keys
      ## alert conditions
        where users are notified on:
        - slow read responses
        - low cache hit 
    icon: logo.svg
    install:
      primary:
        link:
          url: https://www.newrelic.com
    keywords:
      - infrastructure
      - database
    categoryTerms:
      - database

    ```

    ````
5.  Add a logo for your data source. It can be either `.svg` or `.png`.

> #### 💡 TIP
>
> This procedure is a part of course that teaches you how to build a quickstart. Continue on to next lesson: [contribute your quickstart](https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/contribute-nr-io/build-quickstart/contribute-quickstart).
