# IRPCServerAdmin.ConnectToCloud

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Administration API](https://developer.m-files.com/APIs/gRPC-API/admin/index.md) > [Server administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/ConnectToCloud/

Badges: `Administration API / specialized` `internal: not for applications` `admin` `session`

Tells the server to fetch its licenses and login accounts from M-Files Manage so that it can
start attaching its vaults.

- **Service:** [Server administration](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/index.md) `MFiles.IRPCServerAdmin`
- **gRPC method:** `/MFiles.IRPCServerAdmin/ConnectToCloud`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/connect-to-cloud`
- **Request:** [`ConnectToCloudRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/ConnectToCloud/index.md#request)
- **Response:** [`ConnectToCloudResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCServerAdmin/ConnectToCloud/index.md#response)
- **Book and level:** Administration API, specialized
- **Kind:** admin
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

**For M-Files components only.** Used for servers that run in M-Files Cloud containers.
Applications should not call it.
- Requires the system administrator server role (server rights `edit_server_properties`,
  `manage_logins` and `shutdown`).

<a id="request"></a>

## Request: ConnectToCloudRequest

No fields.

<a id="response"></a>

## Response: ConnectToCloudResponse

No fields.
