> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skypoint.ai/llms.txt
> Use this file to discover all available pages before exploring further.

#  

# Connecting to CMS SNF

This guide provides a step-by-step approach to effortlessly connecting CMS SNF with skyData.

The CMS SNF Connector integrates CMS Skilled Nursing Facility data into skyData’s Lakehouse, ensuring compliance, efficiency, and real-time insights by ingesting data via API calls, storing it in azure blob storage, and processing it through Databricks into Delta Lake via Unity Catalog. With Databricks as a fully managed warehouse, SNFs gain real-time insights, personalized reports, and proactive alerts to optimize patient care.

## To import data using the CMS SNF connector

Follow these steps to create and configure a new dataflow for the CMS SNF import connector:

1. Navigate to **Dataflow > Imports**.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmssetupdataflowone.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=294c7e613a6180c9c4bc9a4322ccb713" alt="initiate setting up dataflow for cms snf" width="1920" height="1089" data-path="static/doc_snippets/cmssetupdataflowone.png" />

2. Click **New dataflow** as indicated by an arrow.

The **Set dataflow name** page appears.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmssetdataflownametwo.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=fb3fbda45a4d31a3643e0957f761aa1c" alt="set dataflow name for cms snf" width="1920" height="1089" data-path="static/doc_snippets/cmssetdataflownametwo.png" />

3. Enter the desired name for the dataflow in the **Name** text field.
4. Click **Next** to proceed.

The **Choose connector** page appears.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmschooseconnectorthree.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=0db019797a968ba05fb8df5e32c6b59c" alt="search and select cms snf connector" width="1920" height="1089" data-path="static/doc_snippets/cmschooseconnectorthree.png" />

## Add CMS SNF connector

1. On the **Choose Connector** page, use the **Search** feature to locate and select the **CMS SNF** Connector.
2. Enter the **Display Name** for your dataflow in the provided text field.
3. Optionally, add a **Description** in the designated text area.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmskeydisplaynamefour.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=2a273d86b58672804653c7bec99968cf" alt="key in dataflow name" width="1920" height="1089" data-path="static/doc_snippets/cmskeydisplaynamefour.png" />

4. Click **Next** to proceed.

The **Configuration** page appears.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmsautopopulatefive.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=dec6ddd62efeb36eb3a61fa1dbf1e202" alt="cms snf credentials are autofilled" width="1920" height="1089" data-path="static/doc_snippets/cmsautopopulatefive.png" />

## Connect to the CMS SNF account

1. The credentials gets auto populated on the Configuration page.
2. Click **Connect**.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmsconnectorconnectsix.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=a8fc52ca082dc24fe081de19a2c00905" alt="connect cms snf with skypoint ai" width="1920" height="1089" data-path="static/doc_snippets/cmsconnectorconnectsix.png" />

Once the connection is established, the connector can be used to import data from CMS SNF tables.

3. Scroll down to the **Table Details** section, select the checkboxes for the tables you wish to import, and use the dropdown menu to label them as either **Data** or **Metadata.**

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmstableselectseven.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=890a12e33d7526292cfdcf9ab5ba6ddd" alt="select snf table to import data to skypoint ai" width="1920" height="1089" data-path="static/doc_snippets/cmstableselectseven.png" />

<Note>
  By default, all tables in the **Table Details** section are selected. You can choose to import only specific tables that are relevant to your data processing needs. For example, to import customer data, select tables containing details like name, email, address, and contact information.
</Note>

| Item        | Description                                                                 |
| :---------- | :-------------------------------------------------------------------------- |
| Purpose     | Option to assign a purpose (Data or Metadata) for each table.               |
| Data        | Loads customer data                                                         |
| Metadata    | Loads Metadata                                                              |
| File name   | Displays the name of the file that you imported.                            |
| Entity name | Displays the imported table name by default. You can rename it if required. |

4. Click **Save** to apply the changes.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmsdataflowneweight.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=dc1e7b7b227185056012e030d73b1951" alt="CMS snf dataflow saved on skypoitn ai" width="1920" height="1089" data-path="static/doc_snippets/cmsdataflowneweight.png" />

Congratulations ! for saving the CMS SNF connector dataflow, which appears on the **Dataflow > Imports** page.

## Run, Edit, and Delete the imported data

Once the table is imported, you can execute, modify, and remove the imported table from the Dataflow. Follow the below steps:

1. Go to the **Dataflow** > **Imports** page.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmsrunnine.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=ff5d874b68bb9e2bb0e1566f1e310cad" alt="seamless execution of cms snf dataflow on skypoint ai studio" width="1920" height="1089" data-path="static/doc_snippets/cmsrunnine.png" />

| Item              | Description                                                                     |
| :---------------- | :------------------------------------------------------------------------------ |
| Name              | Displays the name of the imported Dataflow.                                     |
| Type              | Displays connector type symbol.                                                 |
| Connector Name    | Displays connector name.                                                        |
| Status            | Indicates whether the data is imported successfully.                            |
| Tables Count      | Displays the number of tables imported.                                         |
| Created Date      | Displays date of creation.                                                      |
| Last Refresh Type | Displays the refresh value: Full or Incremental.                                |
| Updated Date      | Displays last modified date.                                                    |
| Last Refresh      | Displays the latest refresh date, which updates each time you refresh the data. |
| Actions           | Provides multiple options for managing dataflows.                               |

2. Select the horizontal ellipsis under the **Actions** column and do the following:

| If you want to                       | Then                                                                                               |
| :----------------------------------- | :------------------------------------------------------------------------------------------------- |
| Modify the Dataflow                  | Select **Edit** and modify the Dataflow. Click **Save** to apply your changes.                     |
| Execute the Dataflow                 | Select **Run**.                                                                                    |
| Bring the data to its previous state | Select **Rollback**.                                                                               |
| Delete the Dataflow                  | Select **Remove** and then click the **Delete** button. All tables in the data source get deleted. |
| See the run history of the dataflow  | Select **Run history**.                                                                            |

3. Click **Run** to execute the dataflow. Once the execution is successful, the data pipeline status will update to **Completed**, as illustrated in the figure below.

<img src="https://mintcdn.com/skypoint/OnxZHTULEcsca3Jk/static/doc_snippets/cmsdataimportten.png?fit=max&auto=format&n=OnxZHTULEcsca3Jk&q=85&s=467ee4de79bcddcb162a7ecd3be09a5d" alt="data import from cms snf to skypoint ai" width="1920" height="1089" data-path="static/doc_snippets/cmsdataimportten.png" />

<Note>
  In the Dataflow's **Run History Description,** you can view error messages related to data import failures from a data source. Additionally, you can check the status, start time, and end time of the data pipeline execution.
</Note>

## Next step

After completing the data import, start the [Master Data Management (MDM) - Resolve](https://docs.skypointcloud.com/docs/stitch.html) process to create a single, unified view of the data. With Skypoint MDM, you can ensure that your data is accurate, consistent, and reliable, making it easier to use for business processes, analytics, and reporting.
