<!--
title: Serverless Framework Commands - Login
menuText: login
menuOrder: 8
description: Login to the serverless platform
layout: Doc
-->

<!-- DOCS-SITE-LINK:START automatically generated  -->

### [Read this on the main serverless docs site](https://www.serverless.com/framework/docs/providers/google/cli-reference/login)

<!-- DOCS-SITE-LINK:END -->

# Login

The `login` command logs users into the serverless platform.

It will create a new serverless platform account if one doesn't already exist.

```bash
serverless login

# Shorthand
sls login
```
