Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,15 @@ except Exception:

If the output is `SKIP`, credentials already exist — tell the user Step 2 is already done and move on to the final message below.

If the output is `NEEDED`, tell the user:

_"I'll open an incognito Chrome window so you can create a free Outlook account for the bot. The script will suggest an email and password — you can use those or pick your own. Once the account is created, come back to this window and enter the credentials."_
If the output is `NEEDED`, run:

```bash
cd ~/dobby && ~/dobby/.venv/bin/python setup_account.py
! cd ~/dobby && ~/dobby/.venv/bin/python setup_account.py
```

The script will print suggested credentials, open Chrome in incognito, then wait for the user to type the email and password they used. Once entered, it saves them automatically.

When it finishes, tell the user:
The script opens Chrome incognito, suggests credentials, and waits for the user to enter the email and password they used. When it finishes, tell the user:

_"All done. Please quit Claude Desktop and reopen it — that's required to load the new bot config. After that, you can say 'join this Teams meeting for me: [link]' and I'll handle the rest."_
_"Quit Claude Desktop and reopen it, then you're ready."_

---

Expand Down
19 changes: 4 additions & 15 deletions setup_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,32 +60,21 @@ def main() -> None:
suggested_password = _random_password()

print()
print("=" * 56)
print(" Bot account setup")
print("=" * 56)
print(f" Suggested email: {suggested_email}")
print(f" Suggested password: {suggested_password}")
print()
print(" Dobby needs a dedicated Microsoft Outlook account.")
print(" Please create a free one at outlook.com.")
print()
print(" Suggested credentials (feel free to use these):")
print(f" Email: {suggested_email}")
print(f" Password: {suggested_password}")
print()
print(" Opening an incognito Chrome window to get you started...")
print(" Opening Chrome incognito — create the account, then come back here.")
print()

try:
subprocess.Popen([
"open", "-a", "Google Chrome",
"open", "-na", "Google Chrome",
"--args", "--incognito", SIGNUP_URL,
])
except Exception as e:
print(f" (Could not open Chrome automatically: {e})")
print(f" Please open this URL in an incognito window: {SIGNUP_URL}")

print(" Once the account is created, come back here and enter")
print(" the credentials below.")
print()

email = input(" Email you used: ").strip()
password = input(" Password you used: ").strip()
Expand Down
Loading