> For the complete documentation index, see [llms.txt](https://docs.graphcommons.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.graphcommons.com/create/creating-a-hub.md). Agents can also search and read this documentation through its [MCP server](https://docs.graphcommons.com/~gitbook/mcp).

# Creating a hub

Empower everyone across your organization or community with network intelligence

## Introduction

As your organization, ecosystem, or research field grows, managing the exponentially increasing complexity of relationships can be challenging with spreadsheets alone. Network maps or graphs offer a more efficient solution, providing a visual and analytical language to understand and leverage relationships at scale.

Modern organizations not only need to manage large volumes of data but also derive insights from it. In this context, the relationships between data points matter more than the individual points themselves.

As your data expands with numerous entities and relationships, you need robust solutions. Dealing large data-networks requires exploration capacity, ideally optimized for limited screen space and designed to reduce cognitive load from increased complexity.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FM8qAphcMlDiBsTgmGV3P%2Fgapingvoid-hugh-mcleod-David-Sommerville.jpg?alt=media&amp;token=2a30a140-11a3-4cc1-8ea0-800029e057e5" alt=""><figcaption><p><em>Illustration by David Sommerville based on the original by Hugh McLeod.</em></p></figcaption></figure>

The [Organization Plan](https://graphcommons.com/pricing) provides a data hub – a graph-database-as-a-service – equipped with advanced search, exploration, and collaborative workspace features. This plan empowers your team to comprehend complex issues collectively and allows everyone in your community to harness the intelligence of your network.

In your data hub, you'll have access to:

* A graph database as a service
* A consolidated data portal to share and explore your community's graphs
* Powerful search features tailored for your organization's data
* A graph builder to generate views from existing data by expanding selected relationships
* A shortest path finder to reveal indirect connections between any nodes in your network
* A collaborative workspace with customizable privacy settings and team access controls

## Create a hub

To create a hub, please follow the steps below:

1. First, ensure you are subscribed to the [Organization Plan](https://graphcommons.com/plans)
2. Click on "Create Hub" from your profile menu, and then build your hub profile
3. After creation, import your data (from Excel, Google Sheets, or existing graphs)

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F3egmi5rEQC3XDpJakSzR%2Fgc-hub-create-0.png?alt=media&amp;token=d389d9a4-8d98-479e-bb37-c9db85c72f5f" alt=""><figcaption><p>Creating a new hub</p></figcaption></figure>

Build your hub profile:

* Give your hub a name and title. The name is displayed on the top left of the hub landing page.&#x20;
* Set a slug as the permanent address of your hub (e.g., <https://graphcommons.com/h/myhub>).&#x20;
* Set allowed email domains to have your team become hub member using their work email
* Set your hub as private or public (you can set selected data private).
* Add profile and header images.
* Fill in your contact and social info to be displayed in your hub page.

You can always come back and edit your hub's profile settings. Mouse over "Manage hub" menu next to your profile image (If you don't see it, you don't have admin access to this particular hub).

## Importing data into a hub

Importing data into a hub works just like importing data into a graph on Graph Commons. The difference is where the import button is placed. On the hub home page, find "Manage hub" menu on top right or the "Import data" button in the About tab.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FIob65LZ1aPgiO3w54R4c%2Fgc-hub-1-import-button.png?alt=media&amp;token=18121f23-f52b-44dd-96c1-4d40bc2e9ca9" alt=""><figcaption><p>Import data from the Manage hub menu</p></figcaption></figure>

{% hint style="info" %}
If you don't see the this option, you don't have admin access to that particular hub.
{% endhint %}

Then the standard Graph Commons importer panel will pop-up (learn more about [importing data](https://docs.graphcommons.com/create/importing-data.md)).

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2Fma1uvLCffR4hsoBQGKUI%2Fgc-hub-2-import-panel.png?alt=media&amp;token=b18d401a-9ffd-40bd-9e25-71514bbcba4c" alt=""><figcaption><p>Hub import panel</p></figcaption></figure>

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F1BNEE2qzDlrooArakwqx%2Fgc-hub-2-import-panel-summary.png?alt=media&amp;token=fe21cd80-e87b-439d-a8ab-1826444d3a39" alt=""><figcaption><p>Import panel summary</p></figcaption></figure>

Once your import is successful, you will see a summary of your hub data on the "About" tab.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2Fj7hyoRIeOnC9sOMTO4Qh%2Fgc-hub-3-about.png?alt=media&amp;token=dae89a3c-e8a7-4b7a-973c-35dc6de95ba0" alt=""><figcaption><p>About page displays the summary of all data in your hub</p></figcaption></figure>

Now that your hub has a customized profile and the data, you can already start using your hub's canonical search bar. But, you still need to create views and invite members.

## Creating hub views

Managing vast data networks demands tools optimized for limited screen space and designed to minimize cognitive strain due to complexity. Unlike regular graphs, hubs let you construct a graph database. You can then explore this database by creating focused hub views, which are partial graphs selected from the broader data set.

To create a hub view, click the 'Create view' button either on the 'Views' tab or the top navigation bar while on the hub page.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FRDrsRiOqnGkjZ0XaLejr%2Fgc-hub-4-views-create.png?alt=media&amp;token=2d90c700-b571-4a06-acf2-528429152d7a" alt=""><figcaption><p>In my hub page, I see my hub has 2520 nodes, but no views yet.</p></figcaption></figure>

When you create a new hub view, you'll encounter features designed to help you build graphs from your existing hub database. At the top, you'll see your hub's name (which links back to the hub page) alongside the view title. The editing bar showcases hub tools such as 'Fill', 'Reset', and 'Add' with multiple options.

{% hint style="info" %}
The 'Import' option isn't available for the view because it's managed for the entire hub in the 'Manage hub' panel.
{% endhint %}

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F1331NtrXbwcAZ9VqBtKH%2Fgc-hub-5-views-canvas.png?alt=media&amp;token=6cb03867-027c-4826-8009-58b551ad22bf" alt=""><figcaption><p>A new hub-view interface</p></figcaption></figure>

When you click on the canvas to add data (assuming you are in the Add mode), you will see four options:

1. **Find Node** – Add node and expand its relationships iteratively.
2. **Find Path** – Find the shortest-path between any two nodes.
3. **Explore** – Graph builder with visual queries to generate large graphs at once.
4. **Create** – Create a single node as you would do in a regular graph, it is added to the hub.&#x20;

### Find node and expand its relationships iteratively

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FECdPxdqavC01SzU0f0IP%2Fgc-hub-5-views-find.png?alt=media&amp;token=2f83330b-6c8a-4c5a-80d6-c2caaa370ad1" alt=""><figcaption><p>Find node with typeahead search function searches in all your hub data</p></figcaption></figure>

Enter a node name, select from the search results, and add to the canvas.&#x20;

Once the node is on canvas, double click to the node to expand its relationships. Expand panel displays this node's relationships grouped by type, so you know how many nodes will be added to the canvas. Select only the types of relationships to expand, and add to the canvas.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FU1DiYlPib4VlGbF7BIH5%2Fgc-hub-5-views-find-expand.png?alt=media&amp;token=048fe015-14dc-4af3-b6d0-864a15d642ef" alt=""><figcaption><p>Double click on a node to expand its relationships, which are grouped by their type.</p></figcaption></figure>

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FHKeDPKyu2f5HfyfPxDtT%2Fgc-hub-5-views-find-expand-2.png?alt=media&amp;token=f1216cd9-797f-47eb-98ce-f7268c2f9e20" alt=""><figcaption><p>Node has expanded</p></figcaption></figure>

Now you can continue expanding the other nodes and build your graph.&#x20;

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FMPoxJm3PmbZ2fSYqxvpr%2Fgc-hub-5-views-find-expand-3.png?alt=media&amp;token=77f85eea-7434-4676-b36b-e6216467140a" alt=""><figcaption><p>Expand more nodes</p></figcaption></figure>

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FSZ2DoASmXYJ1Z95teXeb%2Fgc-hub-5-views-find-expand-4.png?alt=media&amp;token=989711de-ddd4-4dc2-9ca2-a5e17647f6ea" alt=""><figcaption><p>Expanded nodes that can also be expanded. Expandable nodes are indicated with the target symbol on the node.  </p></figcaption></figure>

Once you expand a few nodes, you might wonder if the nodes on your canvas have relations with each other in your database. To add the edges on the canvas, simply click on the FILL<img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FR2J5oVDTmPLsCRCuEEFa%2FScreenshot%202023-02-05%20at%2006.50.46.png?alt=media&amp;token=07f2eb15-9f60-4040-b8c4-8c03f8576fa2" alt="" data-size="line"> button in the editing bar.&#x20;

You can also remove nodes from the canvas using the Remove tool in the editing bar. This will NOT remove these data points from the hub database.

Or you have a ew curiosity based on what you saw, you can always clear the canvas and start over using the RESET![](https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FTZDNqdQ17nrIYAuInBFH%2FScreenshot%202023-02-05%20at%2007.16.13.png?alt=media\&token=4b9a7bf9-b2e9-4352-b8ea-59b8ced6a046)button in the editing bar.

### Find path between any two nodes in your hub database

Click on canvas and select Find Path, enter node names and add them to the canvas.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F8T6SkG6l1ZS1LJDpsmDm%2Fgc-hub-5-views-find-path-1.png?alt=media&amp;token=68bf2399-773f-413f-86f8-52820f92e0aa" alt=""><figcaption><p>Find connections between two nodes in your hub database</p></figcaption></figure>

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F6wYFDGzAz4WW4LUAmIeU%2Fgc-hub-5-views-find-path-2.png?alt=media&amp;token=44fdd4e7-2f23-4a04-b8c0-fb0c95cc781f" alt=""><figcaption><p>All the connections between any two nodes is added to the canvas with a quick search</p></figcaption></figure>

Manually expanding each node's relationships can be cumbersome. To add multiple nodes and relationships at once with filters use the graph builder with visual query features.

### Explore with graph builder

Click on the canvas and select the "Explore" tab. Here you can search for relationship patterns in the Query section and view your results in the Preview section.&#x20;

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FFhUhwLdmplVERQw35ghh%2Fgc-hub-6-views-explore.png?alt=media&amp;token=811a103e-d4df-4892-8235-3f3262f02a9d" alt=""><figcaption><p>Explore panel provides a visual query builder for your hub database</p></figcaption></figure>

First, select one the node types listed. Then, click the plus sign to add a step and select the node type. Also, watch the Preview panel for your query results and act on suggestions if necessary.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FogW4kx30FDoClcFYbAiR%2Fgc-hub-6-views-explore-2.png?alt=media&amp;token=32084cd2-91f6-4329-94e9-79c30edd2300" alt=""><figcaption><p>Explore panel visual query interface</p></figcaption></figure>

Continue to see a summary of data that will be added to the canvas.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FGEbSZjn56nOjI3hDVLDL%2Fgc-hub-6-views-explore-3.png?alt=media&amp;token=5941b3f0-c2ad-4450-bee1-2ed586d41932" alt=""><figcaption><p>Explore panel results summary of your query</p></figcaption></figure>

The summary shows a percent of your data, click on the Add button to add them into your canvas.

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2F26pWgrDXruGQ5ZydACHG%2Fgc-hub-6-views-explore-4.png?alt=media&amp;token=3732698d-9946-4c26-ae4f-63ff33fce456" alt=""><figcaption><p>All data added at once using the Explore panel</p></figcaption></figure>

Once your data is on the canvas, click on the Play/Pause button to organize your graph layout.

## Invite members to hub

Sharing views in your hub is very much like [sharing a graph with your collaborators](https://docs.graphcommons.com/create/sharing-with-collaborators.md). The difference in a hub is you have more granular access control for your hub members:

* Hub Admin – Can manage data and members, but cannot delete the hub or change its status
* Hub Explorer – Can search and use data to create hub views&#x20;
* Hub Viewer – Can only search and view data (particularly in private hubs)

These roles are controlled by the number of seats in your [Organization Plan](https://graphcommons.com/pricing).&#x20;

## Delete hub

You can delete the whole hub without opting out of your Organization plan.

Navigate to your hub page and delete it using the 'Manage Hub' menu.&#x20;

{% hint style="danger" %}
Be aware that all your hub data will be deleted. Once deleted, there's no way to recover it, so ensure you have a backup or export your data before proceeding with the deletion.
{% endhint %}

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FMVOggzO6cvlgxKgHmCaR%2FScreenshot%202023-04-11%20at%2012.14.30.png?alt=media&amp;token=be087730-ea02-4811-a322-6d8fdce1698f" alt=""><figcaption></figcaption></figure>

To clear multiple hubs, go to the hubs tab in your profile. Use the 3-dot menu on a hub card to delete the hub you choose.&#x20;

<figure><img src="https://918529313-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtBdFNYyZE7d8Q4z2K2ZT%2Fuploads%2FJQKpr5lzxGui5ZtEOVbn%2FScreenshot%202023-04-11%20at%2012.16.40.png?alt=media&amp;token=9539fbf0-9549-4f49-9a83-1752d10af9aa" alt=""><figcaption><p>Hub tab on my profile page</p></figcaption></figure>

{% hint style="info" %}
You can only delete a hub if you are the admin. Notice the 3dot menu is not available if your status is not admin
{% endhint %}
