# integration-dbt


02/28/2023, 1:37 PM
When working with dbt-impala how can I run a kinit command up-front (when not manually writing a job but rather when using assets? I.e. can I run a pre-hook that runs the kinit before each materialization for dagster-dbt ?
Unfortunately, they do not seem to support a keytab file and only work with the ticket cache
A workaround could be to run a kinit on a chron schedule. But this would be bad as other jobs might be using these credentials then

Sean Lopp

02/28/2023, 10:13 PM
I think one way to do this today you'd need to implement your own dbt cli resources that inherits the existing one but adds a init step to run kinit @owen has been thinking recently about other ways to add pre-hooks to dagster's use of dbt