Connect your instance to the Hub Central
Configure the Hub Central endpoint
Section titled “Configure the Hub Central endpoint”The client comes pre-configured with a record pointing to the Hub Central operated by Asamblea de Cooperación Por la Paz. In most cases you do not need to touch it: verify and continue.
- Open Federación Futuh → Configuración Federación → Hubs configurados (interface labels are in Spanish).
- Verify that a record named Hub Central Futuh with URL
https://hub.futuh.coopexists. - Check that the Active field is ticked.
- If you are federating against an alternative Hub (rare case: pilots, testing), edit the URL. It must respond to the endpoint
/api/v1/canon/healthcheckwith status code 200.
Enter the authentication token
Section titled “Enter the authentication token”The Hub verifies that your instance has an active Futuh subscription through a Bearer token in every request. The token arrives by email when you renew your subscription.
- In the Hub Central Futuh record, open the Authentication tab.
- Paste the token into the Federation token field. The field is of password type and is encrypted in the database.
- Click Test connection. The message Connection successful · Hub responds with canon_version X.Y.Z should appear.
- Save.
Review active canonical subscriptions
Section titled “Review active canonical subscriptions”Your instance subscribes automatically to the canonical types required by the installed modules. If you have Radar, BDNS regulatory bases and awards arrive; if you have Incidencia Política, parliamentarians and committees arrive.
- Open Federación Futuh → Configuración Federación → Subscriptions activas.
- Review the list. Each subscription declares the destination model, the source URL, and the synchronization frequency.
- Verify that the models consumed by your modules appear as Active (four or more in a typical installation).
- If a subscription shows as Paused, check the latest entry in the synchronization log (usually an expired token or a major canonical version change).
Configure the pull cron frequency
Section titled “Configure the pull cron frequency”Canonical synchronization runs via a daily scheduled action. In most instances this is enough, but the interval is adjustable.
- Open Settings → Technical → Scheduled actions.
- Locate Futuh Federation: Daily canonical hub pull (internal name
_cron_federation_pull_all). - Verify the interval Every day and status Active.
- If you need more frequent updates (campaign with daily deadlines), change the interval to Every hour. The load on the Hub is modest.
- The second action, Futuh Federation: Healthcheck every 4h, notifies the administrator after three consecutive failures. Leave it as delivered.
Flag manual edits on canonical data
Section titled “Flag manual edits on canonical data”When your organization manually edits a record that came from the Hub (for example, you correct the email of a parliamentarian the Hub does not yet have), Futuh marks the record as manually edited and stops overwriting it in subsequent synchronizations.
- Open any federated record (for example, a parliamentarian under Contacts → Parliamentarians).
- Edit the field and save.
- Verify that the Canonical synchronization tab shows the Manually edited badge.
- If you later want to accept what the Hub says, click Restore canonical: the next cron run will overwrite your changes.
Troubleshooting common issues
Section titled “Troubleshooting common issues”- 403 Forbidden in the synchronization log → expired or revoked token. Replace the token and click Test connection.
- 404 Not Found on a specific model → the subscription points to a canonical type the Hub no longer publishes (a major version change occurred). Check the notice on the Messages tab of the record: it carries a link to the upgrade note for the source module.
- Cron in failed state after a recent installation → after installing a module that adds crons, you must restart the Odoo container for the registry to reload. If you cannot restart, run the cron manually once from Scheduled actions.
Next steps
Section titled “Next steps”- Federación Futuh: overview to understand what is federated and why.
- Configure Radar as administrator if the first module you will feed with federated data is Radar.
- Glossary of canonical terms to clarify canonical signature, canonical documentation, or bundle.