דלג לתוכן הראשי

התחברות לאתר

Connection typewebsite-login

חשבון באתר שסוכני ה-AI שלכם יכולים להתחבר אליו בדפדפן, כדי לקרוא דפים ולהוריד קבצים.

במבט אחד​

מאפייןערך
Class namewebsite-login
ResourceConnectorClass (lumen.ai/v1alpha1); a workspace creates a Connector with classRef: {name: website-login}
Driverweblogin
Providesbrowser-login
Modepull (Lumen reaches out to the system)
Credential keysusername, password, totpSecret (kept in a Secret, never in config)
Installation must providebrowser

A workspace adds this connection on the Connections page or with lumen connect; credentials are kept in a Secret, never in the flow.

הגדרות​

Set under config: on the Connector.

הגדרהסוגברירת מחדלתיאור
actionsobject-Allow, ask or block per kind of action. A form that changes something on the site is never allowed without asking, and in this version it is refused.
actions.disclosurestring-one of allow, ask, block
actions.downloadstring-one of allow, ask, block
actions.fillstring-one of allow, ask, block
actions.loginstring-one of allow, ask, block
actions.navigatestring-one of allow, ask, block
actions.readstring-one of allow, ask, block
actions.submitstring-one of ask, block
allowedDomainsחובהlist of string-Domains such as example.com, each covering its subdomains. Any other page is refused. Shared domains such as github.io are not accepted.minItems 1; maxItems 10
loginOriginslist of string-Exact addresses like https://login.microsoftonline.com where the password may also be typed, such as your company's single sign-on. Only list providers you use; the sign-in page's own address is always included.maxItems 5
loginURLחובהstring-The page where you sign in to the site, for example https://portal.example.com/login. It must start with https:// and carry no password or key.minLength 9; maxLength 2048
overrideslist of object-Tell the agent what a button really does, for example that it downloads a file. A correction changes how a click is counted, never what is allowed.maxItems 50
overrides[].classחובהstring-one of read, navigate, download, disclosure, fill, login, submit
overrides[].hostחובהstring-minLength 1; maxLength 253
overrides[].namestring-maxLength 200
overrides[].pathstring-maxLength 500
overrides[].rolestring-maxLength 40

ה-JSON Schema המלא של ההגדרות: website-login.schema.json.

Guided setup​

lumen connect and the web app guide a person through adding this connection.

Credentials asked for

  • password: Password
  • totpSecret: Authenticator key or otpauth:// link (optional)
  • username: Username or email

שימוש​

connector.yaml
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
name: my-website-login
namespace: tenant-acme
spec:
classRef: {name: website-login}
config: {}