Connect Service to Component - Manual Configuration
🕓 5 minutes
#
What you’ll learnHow to add a new service to your component in such a manner that CodeNow will automatically add the correct connection properties into your configuration file, so you don't need to do it manually.
#
Prerequisites- Choose the existing application or Create a New Application
- Create a New Application Component
- Create a New Service (e.g. Apache Kafka)
#
StepsAfter you configure your service, go to the component details and choose Create new connection.
- Choose the name for your new connection and one of the following services:
- Save your new service by clicking the Confirm button.
After the new connection has been created, click on the Connection properties button.
- Go to your project code and set the environment variables as listed in the instructions so that CodeNow will automatically provide your application with the correct values.
When your application is ready for deployment, you will be able to select a specific service instance for every environment and CodeNow will automatically provide your application with the correct values, so that your component will be connected to the chosen service.
- For more information, see the Application deployment tutorial.
#
ScreenshotStep 1.1

Step 1.2

Step 1.3

Step 2.1

Example instructions for Apache Kafka.

#
What`s next?See our other manuals: