Skip to content

Commit 6190b11

Browse files
committed
slightly restructuring accounts/auth pages
1 parent eb96b62 commit 6190b11

File tree

2 files changed

+13
-17
lines changed

2 files changed

+13
-17
lines changed

docs/concepts/accounts.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,28 @@ sidebar_position: 100
66

77
# Accounts
88

9-
In this section, we'll be talking about a couple different topics related to accounts in Defang. First we'll cover authentication and how to create an account, and then we'll talk about how resources are organized within a cloud environment using your account info.
9+
Below, we will cover account creation with Defang, and how resources are organized within a cloud environment using your account info.
1010

11-
:::tip Why do I need an account?
12-
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
11+
Defang requires an account so we can organize your resources and provide you with a way to manage them. We also use your account to authenticate you when you interact with [Defang Playground](./defang-playground.md) and the [Defang Portal](./portal.md).
1312

1413
Eventually, billing and payment information will be associated with your account.
15-
:::
1614

1715
## Creating an Account
1816

19-
To create an account, login to Defang and accept the [terms of service](https://defang.io/terms-service.html) using the [CLI](/docs/concepts/authentication.md).
17+
To create an account, log in to Defang and accept the [Terms of Service](https://defang.io/policies/terms-service/) using the [CLI](/docs/concepts/authentication.md).
18+
19+
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other [authentication](/docs/concepts/authentication.md) providers in the future.
2020

21-
At the moment, the only way to authenticate with Defang is through GitHub. We plan to offer other authentication providers in the future.
21+
:::tip
22+
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
23+
:::
2224

2325
## Structure
2426

25-
Your GitHub username will be used as your Defang username and your Defang username is used to group all your services and to generate domains for your services with the following structure:
27+
Your GitHub username will be used as your Defang username. Your Defang username is used to group all your [services](/docs/concepts/services) and generate domains for your services with the following structure:
2628

2729
```
2830
<username>-<servicename>--<port>.prod1.defang.dev
2931
```
3032

31-
:::warning
32-
Keep in mind that your Defang account is separate from your [cloud provider account](./defang-byoc.md). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
33-
:::
34-
35-
:::info
36-
We plan to introduce a more robust system for managing accounts, permissions, service groups, etc. in the future.
37-
:::
33+
For more about domain structures, see our [Domains](/docs/concepts/domains#structure) page.

docs/concepts/authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ description: Authenticating with Defang.
66

77
# Authentication
88

9-
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command:
9+
To do pretty much anything with Defang, you'll need to authenticate with the system. You can do this by running the following command in the [CLI](/docs/getting-started):
1010

1111
```bash
1212
defang login
1313
```
1414

15-
This will prompt you to open a browser and log into your Defang account. For now, the only way to login is with GitHub, though we will offer other providers to authenticate in the future. Once you've logged in, you can close the browser and return to the terminal. You should see a message that you've successfully logged in.
15+
This will prompt you to open a browser and log in to your [Defang account](/docs/concepts/accounts). For now, the only way to log in is with GitHub, though we will offer other providers to authenticate in the future. Once you've logged in, you can close the browser and return to the terminal. You should see a message that you've successfully logged in.
1616

17-
:::warning
17+
:::tip
1818
Keep in mind that your Defang account is separate from your [cloud provider account](/docs/concepts/defang-byoc). You will need to authenticate with your cloud provider account separately to deploy services to your own cloud account.
1919
:::

0 commit comments

Comments
 (0)