Configure Plone Connection
plone_configureEstablishes and authenticates a connection to a Plone CMS site using provided credentials or environment variables. This initial configuration step is required before using other tools in the session.
Instructions
Establishes and authenticates the connection to a Plone CMS. Must be called once per session before other tools can be used. Configuration can be provided via arguments or environment variables (PLONE_BASE_URL, PLONE_USERNAME, PLONE_PASSWORD, PLONE_TOKEN). Arguments take precedence over environment variables. To use environment variables only, call with an empty object: plone_configure({}). Example with arguments: plone_configure({baseUrl: 'https://demo.plone.org', username: 'admin', password: 'secret'}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | Base URL of the Plone site. Can be set via PLONE_BASE_URL environment variable. | |
| username | No | Username for authentication. Can be set via PLONE_USERNAME environment variable. | |
| password | No | Password for authentication. Can be set via PLONE_PASSWORD environment variable. | |
| token | No | JWT token for authentication (alternative to username/password). Can be set via PLONE_TOKEN environment variable. |