Initially, the different types of AF register themselves with the NRF using the Nnrf_NFManagement_NFRegister
service operation defined in clause 18.104.22.168.2 of TS 23.502
The NWDAF registers itself with the NRF.
The Data Collection AF registers itself with the NRF. This registration includes a list of Event IDs that it is capable of exposing to event consumers.
At some later point, Data Collection and Reporting features are provisioned by the Application Service Provider's Provisioning AF:
The Provisioning AF discovers the Data Collection AF by following the Nnrf_NFDiscovery
procedure defined in clause 22.214.171.124 of TS 23.502
The Provisioning AF provisions data collection and reporting in the Data Collection AF for a specific Event ID, using the Ndcaf_DataReportingProvisioning procedures defined in the present document. The provisioning information may vary depending on the data reporting method, i.e. direct reporting or indirect reporting.