Migrate Custom Function from Sandbox to Production by Using a DevOps Data Kit
Use a DevOps data kit to move custom function deployments from sandbox to production after you validate chunking behavior in a sandbox. You can migrate in one of these ways:
Move only the custom function deployment, and then create a new search index in production that uses the migrated function.
Move the search index, custom function deployment, and required dependencies together in the same migration package.
In your production org, go to Data Cloud Setup, and click Data Kits.
Open your data kit, and click Data Kit Deploy.
Select a data space, provide connection org details for the data bundle, and click Deploy.
Check Deployment History to monitor progress and confirm completion.
Step 6: Create or Verify the Search Index in Production
If you migrated only the function deployment, create a new search index in production by using Advanced Setup, set Chunking Strategy to Code Extension, and select the migrated function deployment.
If you migrated the search index with the function and dependencies, verify that the migrated search index is available and uses the expected custom function configuration.