A sample setting is shown below. This loads an application and then uses a function from the application. Notice how it has to use the fully qualified name for the function.
<KernelInitializeCode>
Needs[ "MyApplication`"];
MyApplication`LaunchConnection[];
</KernelInitializeCode>