# How Does psql -h pg.neon.tech Work?

DevFeed: [How Does psql -h pg.neon.tech Work?](<https://devfeed.tech/articles/how-does-psql-h-pg-neon-tech-work-5357.md>)

Original publisher: [Read original article](<https://neon.com/blog/how-psql-pg-neon-tech-works>)

Author: David Gomes

Published: 2024-08-14T14:22:47Z

Content type: tutorial

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Database](<https://devfeed.tech/topics/database.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Server](<https://devfeed.tech/topics/server.md>), [cloud-infrastructure](<https://devfeed.tech/topics/cloud-infrastructure.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [flow](<https://devfeed.tech/tags/flow.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [server](<https://devfeed.tech/tags/server.md>), [tech](<https://devfeed.tech/tags/tech.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This article explains how the psql -h pg.neon.tech command works. It describes the Link Proxy, which speaks the Postgres protocol, displays a welcome message through NoticeResponse, and generates a URL for authenticating to a Neon project or compute endpoint. The article also explains how this relates to Neon's control plane and data plane architecture.

## Source excerpt

One of the things that got me really excited and curious about Neon, long before I joined the company, was the psql -h pg.neon.tech command. I've recently come to find out that other employees here went through the same "wow" experience even before they joined the company. So, I'...