Help Center

Need a hand with drafts, approvals, or deployment?

Everything you do in MY.TOWN Blogger—from WordPress app passwords to OpenAI key rotation—lives behind this workflow. Use these guides to stay on track.

Quick start

Connect WordPress

Add your WP site URL + application password; we store credentials encrypted per tenant.

Add OpenAI key

Save your API key in the dashboard, then hit the test endpoint to confirm connectivity.

Generate + approve

Use the Option 2 workflow—generate drafts via /content/generate.php, share preview, then call approve.

WordPress App Passwords

What they are

App passwords are scoped credentials for REST APIs; they avoid storing your main WP login.

How to create

Go to Users → Profile → Application Passwords, enter a label like “MY.TOWN Blogger”, and copy the generated password.

Common errors

OpenAI Key

Obtain

Generate an API key in your OpenAI account, then paste it into the tenant dashboard.

Save/test

The dashboard calls /openai/test.php to decrypt and validate the key—you must see `ok: true` before generating drafts.

Rotate

Overwrite the saved key anytime and rerun the test; old drafts continue to work since tokens are independent.

Approval Flow

Preview link

Generated drafts produce a preview URL (`/content/preview.php?ref=&draft=&token=`). The link honors token expiry (7 days by default).

Approve link

POST to `/content/approve.php` with the tenant ref, draft ID, and approve token. This call publishes the WP post.

After publish

Approve tokens are invalidated immediately; subsequent approve calls just return the stored WP link and ID.

Troubleshooting

Downloads

If the files do not yet exist, place them under `/docs/` as part of the deployment so this page links to them.

Support

Need help? Reach us on WhatsApp or email us your tenant ref for faster support.

WhatsApp: Message support

Email: support@app.javabeans.co.za

WhatsApp Email Support