Skip to content

Commit

Permalink
Tuto self-host & SSO (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcourdent authored Sep 22, 2023
1 parent 96ea39e commit 1c8af4c
Show file tree
Hide file tree
Showing 34 changed files with 439 additions and 203 deletions.
Binary file modified blog/2023-03-20-handler-slack-commands/0-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed docs/advanced/1_self_host/adding_new_user.gif
Binary file not shown.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/advanced/1_self_host/smtp_filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/compared_to/airplane.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ where users share useful and proven scripts, flows, and applications.
href="https://github.com/windmill-labs/windmill"
/>
<DocCard
title="Self Host Windmill tutorial"
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host/"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ where users share useful and proven scripts, flows, and applications.
href="https://github.com/windmill-labs/windmill"
/>
<DocCard
title="Self Host Windmill tutorial"
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host/"
/>
Expand Down
2 changes: 1 addition & 1 deletion docs/compared_to/retool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Unlike Retool, where you are limited to pre-written templates by the Retool team
href="https://github.com/windmill-labs/windmill"
/>
<DocCard
title="Self Host Windmill tutorial"
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host/"
/>
Expand Down
Binary file modified docs/core_concepts/15_authentification/add_user_to_workspace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
24 changes: 22 additions & 2 deletions docs/core_concepts/15_authentification/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,30 @@ To manually add users:

![Manually Add Users](./add_global_users.png "Manually Add Users")

If SMTP is configured, an email will be sent to the user with their account details and instructions for accessing Windmill.
If [SMTP is configured](../../advanced/1_self_host/index.mdx#set-up-smtp-from-the-ui), an email will be sent to the user with their account details and instructions for accessing Windmill.

By default, users are not invited to any workspace, unless auto-invite has been set-up.

<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/Wyq6d0bkuGo"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen="true"
></iframe>

<br/>

<div class="grid grid-cols-2 gap-6 mb-4">
<DocCard
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host#authentication-and-user-management"
/>
</div>

## Adding Users to a Workspace

Once added to an instance, users can create their own workspace. However, by default they will not be invited to any workspace.
Expand Down Expand Up @@ -78,7 +98,7 @@ You can also choose to invite users instead of adding them directly. You only ne
<br/>

The invite will be sent even if no Windmill account is created yet. Once access is created to a Windmill account, an invite will be available from the "Select a workspace" menu.
If [SMTP is configured](../../advanced/1_self_host/index.mdx#set-up-smtp-from-the-ui), the invite will be sent even if no Windmill account is created yet. Once access is created to a Windmill account, an invite will be available from the "Select a workspace" menu.

### Auto Invite

Expand Down
Binary file modified docs/core_concepts/15_authentification/invite_manually.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/getting_started/00_how_to_use_windmill/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Run it at scale on kubernetes using our [helm charts](https://github.com/windmil

<div class="grid grid-cols-2 gap-6 mb-4">
<DocCard
title="Self Host Windmill tutorial"
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host/"
/>
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/0_integrations_on_windmill.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Just [reach out to us](../misc/6_getting_help/index.mdx), we'll be happy to list

### OAuth APIs

On [self-hosted instances](../advanced/1_self_host/index.md), integrating OAuth APIs will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating OAuth APIs will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

| Service Provider | Description |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
Expand Down
6 changes: 6 additions & 0 deletions docs/integrations/aws-s3.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

<br/>

:::info Self Host

If you're looking for a way to self-host Windmill using AWS, see [Self-Host Windmill](../advanced/1_self_host/index.mdx).

:::

[Amazon S3](https://aws.amazon.com/s3/)'s API follows the same schema as any S3 compatible API.

To integrate Amazon S3 to Windmill, you need to save the following elements as a [resource](../core_concepts/3_resources_and_types/index.mdx).
Expand Down
6 changes: 6 additions & 0 deletions docs/integrations/aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

To integrate [AWS](https://aws.amazon.com/) to Windmill, you need to save the following elements as a [resource](../core_concepts/3_resources_and_types/index.mdx).

:::info Self Host

If you're looking for a way to self-host Windmill using AWS, see [Self-Host Windmill](../advanced/1_self_host/index.mdx).

:::

![Add AWS Resource](../assets/integrations/add-aws.png.webp)

| Property | Type | Description | Default | Required | Where to Find |
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gcal.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The [Google Calendar](https://calendar.google.com/) integration is done through OAuth. You just need to sign in from your Google account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::tip

Expand Down
6 changes: 6 additions & 0 deletions docs/integrations/gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ To integrate [GCP](https://cloud.google.com/gcp) to Windmill, you need to save t

![Add Google Cloud Platform Resource](../assets/integrations/add-gcp.png.webp)

:::info Self Host

If you're looking for a way to self-host Windmill using GCP, see [Self-Host Windmill](../advanced/1_self_host/index.mdx).

:::

| Property | Type | Description | Default | Required | Where to Find |
| --------------------------- | ------ | ---------------------------------------------------- | ------- | -------- | ------------------------------------------------------------------------------------------------- |
| type | string | Type of credentials object | | false | Google Cloud Console > APIs & Services > Credentials > Create service account key > JSON key file |
Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gdrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The [Google Drive](https://drive.google.com/drive/my-drive?hl=fr) integration is done through OAuth. You just need to sign in from your Google account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::tip

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import DocCard from '@site/src/components/DocCard';

The [GitHub](https://github.com/) integration is done through OAuth. You just need to sign in from your GitHub account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

You might also look for how to [version control from GitHub / GitLab](../advanced/9_deploy_gh_gl/index.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DocCard from '@site/src/components/DocCard';

The [GitLab](https://about.gitlab.com/) integration is done through OAuth. You just need to sign in from your GitLab account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

![Add GitLab Resource](../assets/integrations/add-gitlab.png.webp)

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gmail.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The [Gmail](https://mail.google.com/mail/) integration is done through OAuth. You just need to sign in from your Google account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::tip

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/gsheets.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The [Google Sheets](https://www.google.com/sheets/about/) integration is done through OAuth. You just need to sign in from your Google account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::tip

Expand Down
2 changes: 1 addition & 1 deletion docs/integrations/linkedin.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The [LinkedIn](https://www.linkedin.com/) integration is done through OAuth. You just need to sign in from your LinkedIn account on your browser. The access will be automatically saved to the workspace as a [resource](../core_concepts/3_resources_and_types/index.mdx).

On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::tip

Expand Down
4 changes: 2 additions & 2 deletions docs/integrations/slack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ select the "Slack Command" tab. On there, click "Connect to Slack".

:::info Self-hosted

The Slack integration is done through OAuth. On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
The Slack integration is done through OAuth. On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).

:::

Expand Down Expand Up @@ -186,7 +186,7 @@ back to Windmill, where you can name your Slack Resource and Save it.
:::note
On [self-hosted instances](../advanced/1_self_host/index.md), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating an OAuth API will require [Setup OAuth and SSO](../misc/2_setup_oauth/index.md).
:::
Expand Down
16 changes: 15 additions & 1 deletion docs/intro.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DocCard from '@site/src/components/DocCard';
import { Book, Pen } from 'lucide-react';
import { Book, Pen, Home, Cloud } from 'lucide-react';

# Introduction

Expand Down Expand Up @@ -28,6 +28,19 @@ Start building now using our **<a href="https://app.windmill.dev/" rel="nofollow
href="/docs/misc/note_of_intent"
Icon={Pen}
/>
<DocCard
title="Self Host Windmill"
description="Self host Windmill in 2 minutes."
href="/docs/advanced/self_host/"
Icon={Home}
/>
<DocCard
target="_blank"
title="Windmill Cloud"
description="Use Windmill's Cloud App (no credit card required)."
href="https://app.windmill.dev/"
Icon={Cloud}
/>
</div>

## Quickstarts
Expand Down Expand Up @@ -79,6 +92,7 @@ However the 3 core layers of Windmill, namely Scripts, Flows and Apps are comple
title="Triggering Flows"
description="Trigger flows on-demand, by schedule or on external events."
href="/docs/getting_started/trigger_flows"
color="teal"
/>
<DocCard
title="Script Editor"
Expand Down
4 changes: 2 additions & 2 deletions docs/misc/0_note_of_intent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ You will find more details on our view over our space and competitors in the
[Windmill compared to its peers](../../compared_to/peers.mdx) page.

:::info About
**[Windmill](https://www.windmill.dev/)** is an **[open-source](https://github.com/windmill-labs/windmill)** and **[self-hostable](../../advanced/1_self_host/index.md)** serverless runtime and platform combining the power of code with the velocity of low-code. We turn your scripts into internal apps and composable steps of flows that automate repetitive workflows.
**[Windmill](https://www.windmill.dev/)** is an **[open-source](https://github.com/windmill-labs/windmill)** and **[self-hostable](../../advanced/1_self_host/index.mdx)** serverless runtime and platform combining the power of code with the velocity of low-code. We turn your scripts into internal apps and composable steps of flows that automate repetitive workflows.

You can **[self-host](../../advanced/1_self_host/index.md)** Windmill using a `docker compose up`, our go with the **<a href="https://app.windmill.dev/" rel="nofollow">Cloud App</a>**.
You can **[self-host](../../advanced/1_self_host/index.mdx)** Windmill using a `docker compose up`, our go with the **<a href="https://app.windmill.dev/" rel="nofollow">Cloud App</a>**.

:::
Loading

0 comments on commit 1c8af4c

Please sign in to comment.